summaryrefslogtreecommitdiff
path: root/contrib/ffmpeg/libavcodec/apiexample.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ffmpeg/libavcodec/apiexample.c')
-rw-r--r--contrib/ffmpeg/libavcodec/apiexample.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/contrib/ffmpeg/libavcodec/apiexample.c b/contrib/ffmpeg/libavcodec/apiexample.c
index 151637bd2..793cfaa04 100644
--- a/contrib/ffmpeg/libavcodec/apiexample.c
+++ b/contrib/ffmpeg/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) {