[FFmpeg-devel] [PATCH] ffplay: do not call avcodec_register_all() explicitly

Stefano Sabatini stefasab at gmail.com
Sun Nov 24 19:22:24 CET 2013


avcodec_register_all() is implicitly called by av_register_all().
---
 ffplay.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/ffplay.c b/ffplay.c
index 137837c..6df831c 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -3546,7 +3546,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
-- 
1.8.1.2



More information about the ffmpeg-devel mailing list