Remove unused variable.
[dcpomatic.git] / src / lib / ffmpeg_decoder.h
index d66acad48fee72a243b56900a6c7bb812ec4d685..4e5445f673acfcd53ebb573f1cf23cf12c644ab4 100644 (file)
@@ -62,6 +62,7 @@ public:
        int audio_channels () const;
        int audio_sample_rate () const;
        AVSampleFormat audio_sample_format () const;
+       int64_t audio_channel_layout () const;
 
 private:
 
@@ -78,13 +79,13 @@ private:
 
        AVFormatContext* _format_context;
        int _video_stream;
-       int _audio_stream;
+       int _audio_stream; ///< may be < 0 if there is no audio
        AVFrame* _frame;
        
        AVCodecContext* _video_codec_context;
        AVCodec* _video_codec;
-       AVCodecContext* _audio_codec_context;
-       AVCodec* _audio_codec;
+       AVCodecContext* _audio_codec_context; ///< may be 0 if there is no audio
+       AVCodec* _audio_codec;                ///< may be 0 if there is no audio
 
        AVPacket _packet;
 };