comparison mpegvideo.c @ 1416:8edad1e372d1 libavcodec

removed unused variable
author bellard
date Sun, 24 Aug 2003 22:13:48 +0000
parents c2e63cb94d06
children 340c90faa1dc
comparison
equal deleted inserted replaced
1415:9a218b289ee0 1416:8edad1e372d1
1424 return 0; 1424 return 0;
1425 } 1425 }
1426 1426
1427 static void select_input_picture(MpegEncContext *s){ 1427 static void select_input_picture(MpegEncContext *s){
1428 int i; 1428 int i;
1429 const int encoding_delay= s->max_b_frames;
1430 int coded_pic_num=0; 1429 int coded_pic_num=0;
1431 1430
1432 if(s->reordered_input_picture[0]) 1431 if(s->reordered_input_picture[0])
1433 coded_pic_num= s->reordered_input_picture[0]->coded_picture_number + 1; 1432 coded_pic_num= s->reordered_input_picture[0]->coded_picture_number + 1;
1434 1433
2723 * @param h is the normal height, this will be reduced automatically if needed for the last row 2722 * @param h is the normal height, this will be reduced automatically if needed for the last row
2724 */ 2723 */
2725 void ff_draw_horiz_band(MpegEncContext *s, int y, int h){ 2724 void ff_draw_horiz_band(MpegEncContext *s, int y, int h){
2726 if (s->avctx->draw_horiz_band) { 2725 if (s->avctx->draw_horiz_band) {
2727 AVFrame *src; 2726 AVFrame *src;
2728 uint8_t *src_ptr[3];
2729 int offset[4]; 2727 int offset[4];
2730 2728
2731 if(s->picture_structure != PICT_FRAME){ 2729 if(s->picture_structure != PICT_FRAME){
2732 h <<= 1; 2730 h <<= 1;
2733 y <<= 1; 2731 y <<= 1;