diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2007-06-13 08:28:00 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2007-06-13 08:28:00 +0000 |
commit | c9823f05778ca197681a6c9960590d66816ddcfe (patch) | |
tree | df1e162962f68e0cd068635d94657c02d61c8cf7 /libavcodec | |
parent | 58d1dc0e9b3cb6487a095e53794cfe74047d08ac (diff) | |
download | ffmpeg-c9823f05778ca197681a6c9960590d66816ddcfe.tar.gz |
Improve understanding ofavcodec_find_decoder()
patch by Carl Eugen Hoyos: ! cehoyos ag or at !
Originally committed as revision 9301 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/apiexample.c | 3 | ||||
-rw-r--r-- | libavcodec/avcodec.h | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/apiexample.c b/libavcodec/apiexample.c index 435f409916..793cfaa040 100644 --- a/libavcodec/apiexample.c +++ b/libavcodec/apiexample.c @@ -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) { diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 806be53255..19dc0edd50 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2517,6 +2517,7 @@ int avcodec_default_execute(AVCodecContext *c, int (*func)(AVCodecContext *c2, v * @warning This function is not thread safe! * * @code + * avcodec_register_all(); * codec = avcodec_find_decoder(CODEC_ID_H264); * if (!codec) * exit(1); |