update for ffmpeg 4.x

The function av_register_all() is deprecated since commit
0694d8702421e7aff1340038559c438b61bb30dd.
This commit is contained in:
Christian Hesse 2018-05-16 12:23:19 +02:00
parent 4c5191e51e
commit 68576d8903

View file

@ -23,7 +23,9 @@ int main(int argc, char **argv) {
}
/* libav */
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(58, 9, 100)
av_register_all();
#endif
/* only fatal messages from libav */
av_log_set_level(AV_LOG_FATAL);