1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

lavf: remove a pointless check

AVStream.codec is always non-NULL
This commit is contained in:
Anton Khirnov
2013-12-16 22:37:40 +01:00
parent 75647dea6f
commit 3867f3718b

View File

@@ -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);
}