summaryrefslogtreecommitdiff
path: root/doc/examples/avcodec.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/avcodec.c')
-rw-r--r--doc/examples/avcodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/avcodec.c b/doc/examples/avcodec.c
index 1478881c25..1fd0a60254 100644
--- a/doc/examples/avcodec.c
+++ b/doc/examples/avcodec.c
@@ -481,7 +481,7 @@ static void video_decode_example(const char *outfilename, const char *filename)
picture = av_frame_alloc();
if(codec->capabilities&CODEC_CAP_TRUNCATED)
- c->flags|= CODEC_FLAG_TRUNCATED; /* we do not send complete frames */
+ 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