changeset 5137:0134da1737d0 libavcodec

Improve understanding ofavcodec_find_decoder() patch by Carl Eugen Hoyos: ! cehoyos ag or at !
author benoit
date Wed, 13 Jun 2007 08:28:00 +0000
parents 7622ba533e05
children 189a1229a7a6
files apiexample.c avcodec.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/apiexample.c	Wed Jun 13 08:25:48 2007 +0000
+++ b/apiexample.c	Wed Jun 13 08:28:00 2007 +0000
@@ -433,8 +433,7 @@
     /* 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) {
--- a/avcodec.h	Wed Jun 13 08:25:48 2007 +0000
+++ b/avcodec.h	Wed Jun 13 08:28:00 2007 +0000
@@ -2517,6 +2517,7 @@
  * @warning This function is not thread safe!
  *
  * @code
+ * avcodec_register_all();
  * codec = avcodec_find_decoder(CODEC_ID_H264);
  * if (!codec)
  *     exit(1);