summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-02-25 18:56:25 +0000
committerCarl Hetherington <cth@carlh.net>2013-02-25 18:56:25 +0000
commitd371988d26f8c9c4240dc3794df044cbe95d5d0d (patch)
treed77337873556694bdc3e805fe054e5f959247b8b /src/lib/ffmpeg_decoder.cc
parentab624eaed4423b1813148e1c395092697b541139 (diff)
Fix warning.
Diffstat (limited to 'src/lib/ffmpeg_decoder.cc')
-rw-r--r--src/lib/ffmpeg_decoder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_decoder.cc b/src/lib/ffmpeg_decoder.cc
index 148764162..fa2355cc2 100644
--- a/src/lib/ffmpeg_decoder.cc
+++ b/src/lib/ffmpeg_decoder.cc
@@ -197,7 +197,7 @@ FFmpegDecoder::setup_audio ()
void
FFmpegDecoder::setup_subtitle ()
{
- if (!_subtitle_stream || _subtitle_stream->id() >= _format_context->nb_streams) {
+ if (!_subtitle_stream || _subtitle_stream->id() >= int (_format_context->nb_streams)) {
return;
}