mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
audio frame multi-threaded decoding
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
258a05b216
commit
d5f7f1fef1
4 changed files with 18 additions and 8 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue