comparison mpegvideo.c @ 588:9e271424160f libavcodec

max_b_frame=4 bugfix
author michaelni
date Thu, 01 Aug 2002 11:01:07 +0000
parents 5132a4ee50cd
children d3f374218030
comparison
equal deleted inserted replaced
587:4d41fe7eb780 588:9e271424160f
758 src += src_wrap; 758 src += src_wrap;
759 } 759 }
760 } 760 }
761 if(index!=0){ 761 if(index!=0){
762 s->picture_buffer_index++; 762 s->picture_buffer_index++;
763 if(s->picture_buffer_index >= REORDER_BUFFER_SIZE-1) s->picture_buffer_index=0; 763 if(s->picture_buffer_index >= REORDER_BUFFER_SIZE) s->picture_buffer_index=0;
764 } 764 }
765 } 765 }
766 s->coded_order[index].pict_type = s->input_pict_type; 766 s->coded_order[index].pict_type = s->input_pict_type;
767 s->coded_order[index].qscale = s->input_qscale; 767 s->coded_order[index].qscale = s->input_qscale;
768 s->coded_order[index].force_type= s->force_input_type; 768 s->coded_order[index].force_type= s->force_input_type;