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:
@@ -346,7 +346,7 @@ static int h264_handle_packet(AVFormatContext *ctx, PayloadContext *data,
|
|||||||
|
|
||||||
static PayloadContext *h264_new_context(void)
|
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)
|
static void h264_free_context(PayloadContext *data)
|
||||||
|
Reference in New Issue
Block a user