]> git.sesse.net Git - ffmpeg/blobdiff - doc/examples/decoding_encoding.c
Merge commit 'def97856de6021965db86c25a732d78689bd6bb0'
[ffmpeg] / doc / examples / decoding_encoding.c
index f6643f67ef2a02dd770d5b2b9e8541ca9e7e493b..e1f4ae36ae4c09eb63e2e41ba2e5fd5781327ea9 100644 (file)
@@ -561,8 +561,8 @@ static void video_decode_example(const char *outfilename, const char *filename)
         exit(1);
     }
 
-    if(codec->capabilities&CODEC_CAP_TRUNCATED)
-        c->flags|= CODEC_FLAG_TRUNCATED; /* we do not send complete frames */
+    if (codec->capabilities & AV_CODEC_CAP_TRUNCATED)
+        c->flags |= AV_CODEC_FLAG_TRUNCATED; // we do not send complete frames
 
     /* For some codecs, such as msmpeg4 and mpeg4, width and height
        MUST be initialized there because this information is not