mpeg1 bad frame_rate_base fix by (Arthur van Hoff (javanator))
Originally committed as revision 2012 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
		
							parent
							
								
									aef3c69d8d
								
							
						
					
					
						commit
						e71ea8b251
					
				@ -618,7 +618,7 @@ int av_find_stream_info(AVFormatContext *ic)
 | 
				
			|||||||
                                &st->r_frame_rate,
 | 
					                                &st->r_frame_rate,
 | 
				
			||||||
                                &st->r_frame_rate_base,
 | 
					                                &st->r_frame_rate_base,
 | 
				
			||||||
                                (int64_t)st->codec.frame_rate * st->codec_info_nb_real_frames,
 | 
					                                (int64_t)st->codec.frame_rate * st->codec_info_nb_real_frames,
 | 
				
			||||||
                                st->codec_info_nb_real_frames + (st->codec_info_nb_repeat_frames >> 1),
 | 
					                                (st->codec_info_nb_real_frames + (st->codec_info_nb_repeat_frames >> 1)) * st->codec.frame_rate_base,
 | 
				
			||||||
                                1<<30);
 | 
					                                1<<30);
 | 
				
			||||||
                            goto close_codec;
 | 
					                            goto close_codec;
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user