Put av_register_all() in the right place.
[dcpomatic.git] / src / lib / ffmpeg.cc
index ce87cc14f2d7801f2974202008012f624b09d1ae..2038d6a8590f2e6df8a2d9c7301ac92251be05c4 100644 (file)
@@ -110,8 +110,6 @@ FFmpeg::ffmpeg_log_callback (void* ptr, int level, const char* fmt, va_list vl)
 void
 FFmpeg::setup_general ()
 {
-       av_register_all ();
-
        /* This might not work too well in some cases of multiple FFmpeg decoders,
           but it's probably good enough.
        */