]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/dpx_parser.c
vp9/x86: make cglobal statement more conservative in register allocation.
[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) {