diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-06-03 14:43:18 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-06-05 22:35:31 +0000 |
commit | d5f7f1fef157e0f1dccaf6e39b40e8e3a63c3ef0 (patch) | |
tree | d3d75f3c960499c7bbf1441a1ea89499afb60b67 /libavformat/utils.c | |
parent | 258a05b21684d7565f1b8e64e97cb22ac1394774 (diff) |
audio frame multi-threaded decoding
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index baa717701a..d53e6544ee 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -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); |