mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-04 21:25:40 +01:00
removed the obsolete and unused parameters of init_put_bits
Originally committed as revision 2366 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -1601,7 +1601,7 @@ int MPV_encode_picture(AVCodecContext *avctx,
|
||||
return -1;
|
||||
}
|
||||
|
||||
init_put_bits(&s->pb, buf, buf_size, NULL, NULL);
|
||||
init_put_bits(&s->pb, buf, buf_size);
|
||||
|
||||
s->picture_in_gop_number++;
|
||||
|
||||
@@ -3326,9 +3326,9 @@ static void encode_picture(MpegEncContext *s, int picture_number)
|
||||
PutBitContext pb[2], pb2[2], tex_pb[2];
|
||||
|
||||
for(i=0; i<2; i++){
|
||||
init_put_bits(&pb [i], bit_buf [i], 3000, NULL, NULL);
|
||||
init_put_bits(&pb2 [i], bit_buf2 [i], 3000, NULL, NULL);
|
||||
init_put_bits(&tex_pb[i], bit_buf_tex[i], 3000, NULL, NULL);
|
||||
init_put_bits(&pb [i], bit_buf [i], 3000);
|
||||
init_put_bits(&pb2 [i], bit_buf2 [i], 3000);
|
||||
init_put_bits(&tex_pb[i], bit_buf_tex[i], 3000);
|
||||
}
|
||||
|
||||
s->picture_number = picture_number;
|
||||
|
||||
Reference in New Issue
Block a user