diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-07-07 01:41:27 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-07-27 15:24:58 +0100 |
commit | def97856de6021965db86c25a732d78689bd6bb0 (patch) | |
tree | eec43bbcd7da3f0811fe3f523803e51a1e32efc9 /doc/examples/avcodec.c | |
parent | 7c6eb0a1b7bf1aac7f033a7ec6d8cacc3b5c2615 (diff) | |
download | ffmpeg-def97856de6021965db86c25a732d78689bd6bb0.tar.gz |
lavc: AV-prefix all codec capabilities
Express bitfields more simply.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'doc/examples/avcodec.c')
-rw-r--r-- | doc/examples/avcodec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/avcodec.c b/doc/examples/avcodec.c index 1fd0a60254..485911a67f 100644 --- a/doc/examples/avcodec.c +++ b/doc/examples/avcodec.c @@ -480,7 +480,7 @@ static void video_decode_example(const char *outfilename, const char *filename) c = avcodec_alloc_context3(codec); picture = av_frame_alloc(); - if(codec->capabilities&CODEC_CAP_TRUNCATED) + 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 |