diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2001-08-15 13:12:23 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2001-08-15 13:12:23 +0000 |
commit | 58f26ba9162f492387c2f5b34856df74644a82f8 (patch) | |
tree | f38d0fdcd2937984332e51e86631d588480ea88f /libavcodec/apiexample.c | |
parent | 935442b522dc198da6d73b58fc1236ef97278ca9 (diff) | |
download | ffmpeg-58f26ba9162f492387c2f5b34856df74644a82f8.tar.gz |
changed opendivx to mpeg4
Originally committed as revision 102 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/apiexample.c')
-rw-r--r-- | libavcodec/apiexample.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/apiexample.c b/libavcodec/apiexample.c index e7ae6e80be..cab7d79b69 100644 --- a/libavcodec/apiexample.c +++ b/libavcodec/apiexample.c @@ -292,7 +292,7 @@ void video_decode_example(const char *outfilename, const char *filename) /* put default values */ memset(c, 0, sizeof(*c)); - /* for some codecs, such as msmpeg4 and opendivx, width and height + /* for some codecs, such as msmpeg4 and mpeg4, width and height MUST be initialized there because these info are not available in the bitstream */ @@ -320,9 +320,9 @@ void video_decode_example(const char *outfilename, const char *filename) and this is the only method to use them because you cannot know the compressed data size before analysing it. - BUT some other codecs (msmpeg4, opendivx) are inherently - frame based, so you must call them with all the data for - one frame exactly. You must also initialize 'width' and + BUT some other codecs (msmpeg4, mpeg4) are inherently frame + based, so you must call them with all the data for one + frame exactly. You must also initialize 'width' and 'height' before initializing them. */ /* NOTE2: some codecs allow the raw parameters (frame size, |