summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-08-10 15:48:45 +0100
committerCarl Hetherington <cth@carlh.net>2012-08-10 15:48:45 +0100
commit5a7a576c41389aa7daebfc37d3d8b0763e96263b (patch)
tree4c12d2c0f541789a6586f9123f03f4793fdc02ea /src/lib/ffmpeg_decoder.h
parent8c4ea6d32a87453cb34ad732a026fa624bfe0f6b (diff)
Untested fixes for files without audio.
Diffstat (limited to 'src/lib/ffmpeg_decoder.h')
-rw-r--r--src/lib/ffmpeg_decoder.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/ffmpeg_decoder.h b/src/lib/ffmpeg_decoder.h
index 8e7d68580..4e5445f67 100644
--- a/src/lib/ffmpeg_decoder.h
+++ b/src/lib/ffmpeg_decoder.h
@@ -79,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;
};