while (1) -> while (true)
[dcpomatic.git] / src / lib / ffmpeg_examiner.cc
index d73063083f894fa82a39e5dd316796ac97f79589..bc82a9700f8c3b254ea287c43483919299a37de7 100644 (file)
@@ -63,7 +63,7 @@ FFmpegExaminer::FFmpegExaminer (shared_ptr<const FFmpegContent> c)
 
        /* Run through until we find the first audio (for each stream) and video */
 
-       while (1) {
+       while (true) {
                int r = av_read_frame (_format_context, &_packet);
                if (r < 0) {
                        break;