Mercurial > libavcodec.hg
comparison mpegvideo.c @ 1522:79dddc5cd990 libavcodec
removed the obsolete and unused parameters of init_put_bits
author | alex |
---|---|
date | Sun, 12 Oct 2003 21:25:00 +0000 |
parents | 010f76d07a27 |
children | 925bcd748f4b |
comparison
equal
deleted
inserted
replaced
1521:c232b6753012 | 1522:79dddc5cd990 |
---|---|
1599 if(avctx->pix_fmt != PIX_FMT_YUV420P){ | 1599 if(avctx->pix_fmt != PIX_FMT_YUV420P){ |
1600 fprintf(stderr, "this codec supports only YUV420P\n"); | 1600 fprintf(stderr, "this codec supports only YUV420P\n"); |
1601 return -1; | 1601 return -1; |
1602 } | 1602 } |
1603 | 1603 |
1604 init_put_bits(&s->pb, buf, buf_size, NULL, NULL); | 1604 init_put_bits(&s->pb, buf, buf_size); |
1605 | 1605 |
1606 s->picture_in_gop_number++; | 1606 s->picture_in_gop_number++; |
1607 | 1607 |
1608 load_input_picture(s, pic_arg); | 1608 load_input_picture(s, pic_arg); |
1609 | 1609 |
3324 uint8_t bit_buf2[2][3000]; | 3324 uint8_t bit_buf2[2][3000]; |
3325 uint8_t bit_buf_tex[2][3000]; | 3325 uint8_t bit_buf_tex[2][3000]; |
3326 PutBitContext pb[2], pb2[2], tex_pb[2]; | 3326 PutBitContext pb[2], pb2[2], tex_pb[2]; |
3327 | 3327 |
3328 for(i=0; i<2; i++){ | 3328 for(i=0; i<2; i++){ |
3329 init_put_bits(&pb [i], bit_buf [i], 3000, NULL, NULL); | 3329 init_put_bits(&pb [i], bit_buf [i], 3000); |
3330 init_put_bits(&pb2 [i], bit_buf2 [i], 3000, NULL, NULL); | 3330 init_put_bits(&pb2 [i], bit_buf2 [i], 3000); |
3331 init_put_bits(&tex_pb[i], bit_buf_tex[i], 3000, NULL, NULL); | 3331 init_put_bits(&tex_pb[i], bit_buf_tex[i], 3000); |
3332 } | 3332 } |
3333 | 3333 |
3334 s->picture_number = picture_number; | 3334 s->picture_number = picture_number; |
3335 | 3335 |
3336 /* Reset the average MB variance */ | 3336 /* Reset the average MB variance */ |