[FFmpeg-devel] [PATCH 2/3] example: Update decoding/encoding example to pink API.

Michael Niedermayer michaelni at gmx.at
Sat Jan 28 08:30:03 CET 2012


Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 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();
 
-- 
1.7.5.4



More information about the ffmpeg-devel mailing list