Handle multiple audio streams in a single piece of content
[dcpomatic.git] / src / lib / ffmpeg.cc
index 0cbf7e128b4443e43025768163e3e7ef99f6e447..741716b0400acc818c23d965b02eb97071d8278e 100644 (file)
@@ -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
 {