mirror of
https://git.eworm.de/cgit/extract-artwork
synced 2025-08-04 18:15:53 +02:00
update for ffmpeg 4.x
The function av_register_all() is deprecated since commit 0694d8702421e7aff1340038559c438b61bb30dd.
This commit is contained in:
parent
4c5191e51e
commit
68576d8903
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue