Commit d5ddcb5f authored by Benoit Fouet's avatar Benoit Fouet Committed by Michael Niedermayer

avcodec/h264_mp4toannexb_bsf: use the given padding in h264_extradata_to_annexb().

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 1cf4d2e9
......@@ -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,
......
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