[FFmpeg-cvslog] example: Update decoding/encoding example to the new API.

Michael Niedermayer git at videolan.org
Sat Jan 28 20:15:21 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Jan 28 08:28:05 2012 +0100| [cb73e35660b9191227d26c996b531ce995057774] | committer: Michael Niedermayer

example: Update decoding/encoding example to the new API.

Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cb73e35660b9191227d26c996b531ce995057774
---

 doc/examples/decoding_encoding.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/doc/examples/decoding_encoding.c b/doc/examples/decoding_encoding.c
index 5271edf..3ac701f 100644
--- a/doc/examples/decoding_encoding.c
+++ b/doc/examples/decoding_encoding.c
@@ -453,9 +453,6 @@ int main(int argc, char **argv)
 {
     const char *filename;
 
-    /* must be called before using avcodec lib */
-    avcodec_init();
-
     /* register all the codecs */
     avcodec_register_all();
 



More information about the ffmpeg-cvslog mailing list