From 0a93237cb5e4642d3b698ff9b7d0cfae5401478c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 27 May 2015 20:55:51 +0100 Subject: Handle multiple audio streams in a single piece of content in a similar way to the V1 patch. --- src/lib/ffmpeg.cc | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/lib/ffmpeg.cc') diff --git a/src/lib/ffmpeg.cc b/src/lib/ffmpeg.cc index 0cbf7e128..741716b04 100644 --- a/src/lib/ffmpeg.cc +++ b/src/lib/ffmpeg.cc @@ -189,16 +189,6 @@ FFmpeg::video_codec_context () const return _format_context->streams[_video_stream]->codec; } -AVCodecContext * -FFmpeg::audio_codec_context () const -{ - if (!_ffmpeg_content->audio_stream ()) { - return 0; - } - - return _ffmpeg_content->audio_stream()->stream(_format_context)->codec; -} - AVCodecContext * FFmpeg::subtitle_codec_context () const { -- cgit v1.2.3