summaryrefslogtreecommitdiff
path: root/doc/examples/decoding_encoding.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-01-28 08:28:05 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-01-28 19:47:53 +0100
commitcb73e35660b9191227d26c996b531ce995057774 (patch)
treeb7c5db88b0e592fe82d1c7e39eeb292335f2ede5 /doc/examples/decoding_encoding.c
parentafe9105f66259d12fe8fa17b9be3494b3996d287 (diff)
example: Update decoding/encoding example to the new API.
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/examples/decoding_encoding.c')
-rw-r--r--doc/examples/decoding_encoding.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/doc/examples/decoding_encoding.c b/doc/examples/decoding_encoding.c
index 5271edf34e..3ac701f83a 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();