max_b_frame=4 bugfix
Originally committed as revision 833 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
		
							parent
							
								
									5efa265074
								
							
						
					
					
						commit
						a10678da8a
					
				| @ -760,7 +760,7 @@ void reorder_input(MpegEncContext *s, AVPicture *pict) | ||||
|         } | ||||
|         if(index!=0){ | ||||
|             s->picture_buffer_index++; | ||||
|             if(s->picture_buffer_index >= REORDER_BUFFER_SIZE-1) s->picture_buffer_index=0; | ||||
|             if(s->picture_buffer_index >= REORDER_BUFFER_SIZE) s->picture_buffer_index=0; | ||||
|         } | ||||
|     } | ||||
|     s->coded_order[index].pict_type = s->input_pict_type; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user