[vlc-commits] [Git][videolan/vlc][master] swscale: fix compilation without avcodec

Rémi Denis-Courmont (@Courmisch) gitlab at videolan.org
Fri Mar 4 20:37:05 UTC 2022



Rémi Denis-Courmont pushed to branch master at VideoLAN / VLC


Commits:
04b5f477 by Rémi Denis-Courmont at 2022-03-04T20:12:40+00:00
swscale: fix compilation without avcodec

Fixes #26678.

- - - - -


1 changed file:

- modules/codec/avcodec/chroma.c


Changes:

=====================================
modules/codec/avcodec/chroma.c
=====================================
@@ -28,9 +28,12 @@
 #include <vlc_common.h>
 #include <vlc_codec.h>
 
+/*
+ * Common header for swscale, avcodec (and avformat).
+ * Only libavutil can be depended on here.
+ */
 #include <libavutil/avutil.h>
 #include <libavutil/pixfmt.h>
-#include "avcommon.h"
 #include "chroma.h"
 
 /*****************************************************************************



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/04b5f4774815dd492945e24ea8cedf63df52642d

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/04b5f4774815dd492945e24ea8cedf63df52642d
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list