Commit 247764a5 authored by Martin Storsjö's avatar Martin Storsjö

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: 's avatarMartin Storsjö <martin@martin.st>
parent fe414059
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment