diff options
-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); |