Browse code

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Benoit Fouet authored on 2014/09/30 20:06:30
Showing 1 changed files
... ...
@@ -117,7 +117,7 @@ pps:
117 117
     }
118 118
 
119 119
     if (out)
120
-        memset(out + total_size, 0, FF_INPUT_BUFFER_PADDING_SIZE);
120
+        memset(out + total_size, 0, padding);
121 121
 
122 122
     if (!sps_seen)
123 123
         av_log(avctx, AV_LOG_WARNING,