Fix a few warnings.
[dcpomatic.git] / src / lib / ffmpeg_decoder.cc
index 785a805f4f5b2aba6c41615dae79d8616df678ea..d8ee278b39a3756d5bdb146638286d397a0ed3b0 100644 (file)
@@ -122,7 +122,7 @@ FFmpegDecoder::pass ()
                /* XXX: should we reset _packet.data and size after each *_decode_* call? */
                
                if (_decode_video) {
-                       while (decode_video_packet ());
+                       while (decode_video_packet ()) {}
                }
 
                if (_ffmpeg_content->audio_stream() && _decode_audio) {