lavf: remove a pointless check
AVStream.codec is always non-NULL
This commit is contained in:
		@@ -2401,7 +2401,6 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
 | 
			
		||||
 | 
			
		||||
 find_stream_info_err:
 | 
			
		||||
    for (i=0; i < ic->nb_streams; i++) {
 | 
			
		||||
        if (ic->streams[i]->codec)
 | 
			
		||||
        ic->streams[i]->codec->thread_count = 0;
 | 
			
		||||
        av_freep(&ic->streams[i]->info);
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user