X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fapiexample.c;h=793cfaa04072804d7d36072e19a6d10e08befbea;hb=c2675d4a69899998dcfa95b85eb63a7fa393e29f;hp=151637bd21d7cd43d4125779ed80fd800befcec1;hpb=b24daebf22762a6a68a750325c7b6a3e01d2b20e;p=ffmpeg diff --git a/libavcodec/apiexample.c b/libavcodec/apiexample.c index 151637bd21d..793cfaa0407 100644 --- a/libavcodec/apiexample.c +++ b/libavcodec/apiexample.c @@ -336,11 +336,11 @@ void video_decode_example(const char *outfilename, const char *filename) picture= avcodec_alloc_frame(); if(codec->capabilities&CODEC_CAP_TRUNCATED) - c->flags|= CODEC_FLAG_TRUNCATED; /* we dont send complete frames */ + c->flags|= 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 these info are not available - in the bitstream */ + /* For some codecs, such as msmpeg4 and mpeg4, width and height + MUST be initialized there because this information is not + available in the bitstream. */ /* open it */ if (avcodec_open(c, codec) < 0) { @@ -433,8 +433,7 @@ int main(int argc, char **argv) /* must be called before using avcodec lib */ avcodec_init(); - /* register all the codecs (you can also register only the codec - you wish to have smaller code */ + /* register all the codecs */ avcodec_register_all(); if (argc <= 1) {