X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=doc%2Fexamples%2Fdecoding_encoding.c;h=e1f4ae36ae4c09eb63e2e41ba2e5fd5781327ea9;hb=444e9874a75c821ad4a1b487559ee8ca1c999712;hp=f6643f67ef2a02dd770d5b2b9e8541ca9e7e493b;hpb=d06ea6e5ce51165c7c81677ab6827612173bf4f7;p=ffmpeg diff --git a/doc/examples/decoding_encoding.c b/doc/examples/decoding_encoding.c index f6643f67ef2..e1f4ae36ae4 100644 --- a/doc/examples/decoding_encoding.c +++ b/doc/examples/decoding_encoding.c @@ -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