mirror of https://git.ffmpeg.org/ffmpeg.git
rtpdec_h264: Remove unnecessary struct padding
There's no point in adding padding in the allocation of a depacketizer specific context struct. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
fe414059ec
commit
247764a592
|
@ -346,7 +346,7 @@ static int h264_handle_packet(AVFormatContext *ctx, PayloadContext *data,
|
|||
|
||||
static PayloadContext *h264_new_context(void)
|
||||
{
|
||||
return av_mallocz(sizeof(PayloadContext) + FF_INPUT_BUFFER_PADDING_SIZE);
|
||||
return av_mallocz(sizeof(PayloadContext));
|
||||
}
|
||||
|
||||
static void h264_free_context(PayloadContext *data)
|
||||
|
|
Loading…
Reference in New Issue