| 
																	
																	
																		
																	
																	
																 | 
																@@ -1615,7 +1615,7 @@ static void decode_postinit(H264Context *h, int setup_finished) | 
															
														
														
													
														
															
																 | 
																 | 
																       || (h->last_pocs[MAX_DELAYED_PIC_COUNT-2] > INT_MIN && h->last_pocs[MAX_DELAYED_PIC_COUNT-1] - h->last_pocs[MAX_DELAYED_PIC_COUNT-2] > 2)) | 
																 | 
																 | 
																       || (h->last_pocs[MAX_DELAYED_PIC_COUNT-2] > INT_MIN && h->last_pocs[MAX_DELAYED_PIC_COUNT-1] - h->last_pocs[MAX_DELAYED_PIC_COUNT-2] > 2)) | 
															
														
														
													
														
															
																 | 
																 | 
																        out_of_order = FFMAX(out_of_order, 1); | 
																 | 
																 | 
																        out_of_order = FFMAX(out_of_order, 1); | 
															
														
														
													
														
															
																 | 
																 | 
																    if(s->avctx->has_b_frames < out_of_order && !h->sps.bitstream_restriction_flag){ | 
																 | 
																 | 
																    if(s->avctx->has_b_frames < out_of_order && !h->sps.bitstream_restriction_flag){ | 
															
														
														
													
														
															
																 | 
																 | 
																        av_log(s->avctx, AV_LOG_WARNING, "Increasing reorder buffer to %d\n", out_of_order); | 
																 | 
																 | 
																 | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																        av_log(s->avctx, AV_LOG_VERBOSE, "Increasing reorder buffer to %d\n", out_of_order); | 
															
														
														
													
														
															
																 | 
																 | 
																        s->avctx->has_b_frames = out_of_order; | 
																 | 
																 | 
																        s->avctx->has_b_frames = out_of_order; | 
															
														
														
													
														
															
																 | 
																 | 
																        s->low_delay = 0; | 
																 | 
																 | 
																        s->low_delay = 0; | 
															
														
														
													
														
															
																 | 
																 | 
																    } | 
																 | 
																 | 
																    } | 
															
														
														
													
												
													
														
															
																| 
																	
																		
																	
																	
																	
																 | 
																
  |