summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-02-24 22:12:13 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-02-24 22:12:16 +0100
commitae2a8d874236ea68181c409705df195f579d7d97 (patch)
tree571bcdb8e731a1cc6324801234aa52030dc0d9e6
parent5d06b6e984706368f1fe3bce38d2dcea1821b7e9 (diff)
parent247764a592f83521f9c1ccdc900b00a8b84f3c87 (diff)
downloadffmpeg-ae2a8d874236ea68181c409705df195f579d7d97.tar.gz
Merge commit '247764a592f83521f9c1ccdc900b00a8b84f3c87'
* commit '247764a592f83521f9c1ccdc900b00a8b84f3c87': rtpdec_h264: Remove unnecessary struct padding Merged-by: Michael Niedermayer <michaelni@gmx.at>
-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 1dc09111a2..1e398a4e97 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)