summaryrefslogtreecommitdiff
path: root/doc/examples/encode_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/encode_video.c')
-rw-r--r--doc/examples/encode_video.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/doc/examples/encode_video.c b/doc/examples/encode_video.c
index 8cd13219bb..6731b2ad19 100644
--- a/doc/examples/encode_video.c
+++ b/doc/examples/encode_video.c
@@ -84,8 +84,6 @@ int main(int argc, char **argv)
filename = argv[1];
codec_name = argv[2];
- avcodec_register_all();
-
/* find the mpeg1video encoder */
codec = avcodec_find_encoder_by_name(codec_name);
if (!codec) {