]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/dpx_parser.c
Merge commit '1c6183233d56fb27a4a154e7e64ecab98bd877f1'
[ffmpeg] / libavcodec / dpx_parser.c
index dd2a335c67cf33ec0ad51f7c60af7d57da164d8d..8e4a01e09dbf9dd2425b2a842b10d27b80adfcac 100644 (file)
@@ -25,6 +25,8 @@
  */
 
 #include "libavutil/bswap.h"
+#include "libavutil/common.h"
+
 #include "parser.h"
 
 typedef struct DPXParseContext {
@@ -71,7 +73,7 @@ static int dpx_parse(AVCodecParserContext *s, AVCodecContext *avctx,
         }
     }
 
-    for (;d->pc.frame_start_found && i < buf_size; i++) {
+    for (; d->pc.frame_start_found && i < buf_size; i++) {
         d->pc.state = (d->pc.state << 8) | buf[i];
         d->index++;
         if (d->index == 17) {