projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
while (1) -> while (true)
[dcpomatic.git]
/
src
/
lib
/
ffmpeg_examiner.cc
diff --git
a/src/lib/ffmpeg_examiner.cc
b/src/lib/ffmpeg_examiner.cc
index d73063083f894fa82a39e5dd316796ac97f79589..bc82a9700f8c3b254ea287c43483919299a37de7 100644
(file)
--- a/
src/lib/ffmpeg_examiner.cc
+++ b/
src/lib/ffmpeg_examiner.cc
@@
-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;