Revision f9243d34 libavcodec/mpegvideo.c

View differences:

libavcodec/mpegvideo.c
2375 2375
                    }
2376 2376
                }
2377 2377
                for(i=0; i<s->max_b_frames+1; i++){
2378
                    if(s->input_picture[i]==NULL || s->input_picture[i]->b_frame_score - 1 > s->mb_num/40) break;
2378
                    if(s->input_picture[i]==NULL || s->input_picture[i]->b_frame_score - 1 > s->mb_num/s->avctx->b_sensitivity) break;
2379 2379
                }
2380 2380

  
2381 2381
                b_frames= FFMAX(0, i-1);

Also available in: Unified diff