mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-19 23:26:14 +08:00
audio frame multi-threaded decoding
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
@@ -3179,7 +3179,7 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
|
||||
find_stream_info_err:
|
||||
for (i=0; i < ic->nb_streams; i++) {
|
||||
st = ic->streams[i];
|
||||
if (ic->streams[i]->codec)
|
||||
if (ic->streams[i]->codec && ic->streams[i]->codec->codec_type != AVMEDIA_TYPE_AUDIO)
|
||||
ic->streams[i]->codec->thread_count = 0;
|
||||
if (st->info)
|
||||
av_freep(&st->info->duration_error);
|
||||
|
Reference in New Issue
Block a user