diff options
Diffstat (limited to 'src/lib/ffmpeg.cc')
| -rw-r--r-- | src/lib/ffmpeg.cc | 10 |
1 files changed, 0 insertions, 10 deletions
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 @@ -190,16 +190,6 @@ FFmpeg::video_codec_context () const } 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 { if (!_ffmpeg_content->subtitle_stream ()) { |
