diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 8bf9970368..f186fc26b2 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -4256,7 +4256,7 @@ int main(){ } - init_put_bits(&pb, temp, SIZE, NULL, NULL); + init_put_bits(&pb, temp, SIZE); printf("testing signed exp golomb\n"); for(i=0; iavctx->extradata, s->avctx->extradata_size, NULL, NULL); + init_put_bits(&pb, s->avctx->extradata, s->avctx->extradata_size); put_bits(&pb, 5, s->avctx->frame_rate / s->avctx->frame_rate_base); //yes 29.97 -> 29 put_bits(&pb, 11, FFMIN(s->bit_rate/1024, 2047));