diff options
Diffstat (limited to 'media/video/ffmpeg_video_decode_engine.cc')
-rw-r--r-- | media/video/ffmpeg_video_decode_engine.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/media/video/ffmpeg_video_decode_engine.cc b/media/video/ffmpeg_video_decode_engine.cc index a1b4f43..b584f78 100644 --- a/media/video/ffmpeg_video_decode_engine.cc +++ b/media/video/ffmpeg_video_decode_engine.cc @@ -127,9 +127,8 @@ void FFmpegVideoDecodeEngine::Initialize( } frame_queue_available_.push_back(video_frame); } - + codec_context_->thread_count = decode_threads; if (codec && - avcodec_thread_init(codec_context_, decode_threads) >= 0 && avcodec_open(codec_context_, codec) >= 0 && av_frame_.get() && buffer_allocated) { |