examples/filtering_audio,video: do not call avcodec_register_all()
authorStefano Sabatini <stefasab@gmail.com>
Fri, 24 Jan 2014 11:17:40 +0000 (12:17 +0100)
committerStefano Sabatini <stefasab@gmail.com>
Fri, 24 Jan 2014 11:20:46 +0000 (12:20 +0100)
It is implied by av_register_all(). Simplify.

doc/examples/filtering_audio.c
doc/examples/filtering_video.c

index 1568f60..2ceee6a 100644 (file)
@@ -210,7 +210,6 @@ int main(int argc, char **argv)
         exit(1);
     }
 
-    avcodec_register_all();
     av_register_all();
     avfilter_register_all();
 
index 0ac1cd4..67c8a8b 100644 (file)
@@ -200,7 +200,6 @@ int main(int argc, char **argv)
         exit(1);
     }
 
-    avcodec_register_all();
     av_register_all();
     avfilter_register_all();