Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2015-02-23 23:03:44 +0300
committerMartin Storsjö <martin@martin.st>2015-02-24 17:20:44 +0300
commit247764a592f83521f9c1ccdc900b00a8b84f3c87 (patch)
tree1387630ea94b4b5dc1ae71a5409ca9ddf36c2469 /libavformat/rtpdec_h264.c
parentfe414059ec1fe8237574bed34cdaa8ac3893917b (diff)
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>
Diffstat (limited to 'libavformat/rtpdec_h264.c')
-rw-r--r--libavformat/rtpdec_h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpdec_h264.c b/libavformat/rtpdec_h264.c
index 13dd7e9ccd..b6f2444f59 100644
--- a/libavformat/rtpdec_h264.c
+++ b/libavformat/rtpdec_h264.c
@@ -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)