summaryrefslogtreecommitdiffstats
path: root/libavcodec/h264_mp4toannexb_bsf.c
diff options
context:
space:
mode:
authorBenoit Fouet <benoit.fouet@free.fr>2014-09-30 13:06:30 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-09-30 13:12:36 +0200
commitd5ddcb5f8e7b14974fabd5e95e6420c6e9b12991 (patch)
tree69ae27fb608cf597a52ad43e362c2cd665729dc8 /libavcodec/h264_mp4toannexb_bsf.c
parent1cf4d2e9be17e4bf1d1831c746e175aca339fa07 (diff)
downloadffmpeg-streaming-d5ddcb5f8e7b14974fabd5e95e6420c6e9b12991.zip
ffmpeg-streaming-d5ddcb5f8e7b14974fabd5e95e6420c6e9b12991.tar.gz
avcodec/h264_mp4toannexb_bsf: use the given padding in h264_extradata_to_annexb().
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264_mp4toannexb_bsf.c')
-rw-r--r--libavcodec/h264_mp4toannexb_bsf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_mp4toannexb_bsf.c b/libavcodec/h264_mp4toannexb_bsf.c
index 3ec4170..be42304 100644
--- a/libavcodec/h264_mp4toannexb_bsf.c
+++ b/libavcodec/h264_mp4toannexb_bsf.c
@@ -117,7 +117,7 @@ pps:
}
if (out)
- memset(out + total_size, 0, FF_INPUT_BUFFER_PADDING_SIZE);
+ memset(out + total_size, 0, padding);
if (!sps_seen)
av_log(avctx, AV_LOG_WARNING,
OpenPOWER on IntegriCloud