OSDN Git Service

ffplay: do not call avcodec_register_all() explicitly
authorStefano Sabatini <stefasab@gmail.com>
Sun, 24 Nov 2013 11:49:13 +0000 (12:49 +0100)
committerStefano Sabatini <stefasab@gmail.com>
Sun, 24 Nov 2013 23:03:20 +0000 (00:03 +0100)
avcodec_register_all() is implicitly called by av_register_all().

ffplay.c

index c671383..bcbc30d 100644 (file)
--- a/ffplay.c
+++ b/ffplay.c
@@ -3548,7 +3548,6 @@ int main(int argc, char **argv)
     parse_loglevel(argc, argv, options);
 
     /* register all codecs, demux and protocols */
-    avcodec_register_all();
 #if CONFIG_AVDEVICE
     avdevice_register_all();
 #endif