[x264-devel] [Git][videolan/x264][master] lavf: Fix compilation with new versions of ffmpeg

Anton Mitrofanov gitlab at videolan.org
Sun Jun 13 20:20:13 UTC 2021



Anton Mitrofanov pushed to branch master at VideoLAN / x264


Commits:
5db6aa6c by Anton Mitrofanov at 2021-06-13T15:43:57+03:00
lavf: Fix compilation with new versions of ffmpeg

Add the missing header as avcodec.h is no longer included in avformat.h.

- - - - -


1 changed file:

- input/lavf.c


Changes:

=====================================
input/lavf.c
=====================================
@@ -28,6 +28,7 @@
 
 #undef DECLARE_ALIGNED
 #include <libavformat/avformat.h>
+#include <libavcodec/avcodec.h>
 #include <libavutil/dict.h>
 #include <libavutil/error.h>
 #include <libavutil/mem.h>



View it on GitLab: https://code.videolan.org/videolan/x264/-/commit/5db6aa6cab1b146e07b60cc1736a01f21da01154

-- 
View it on GitLab: https://code.videolan.org/videolan/x264/-/commit/5db6aa6cab1b146e07b60cc1736a01f21da01154
You're receiving this email because of your account on code.videolan.org.




More information about the x264-devel mailing list