[FFmpeg-devel] [PATCH 06/17] avcodec/lossless_videodsp: Improve included headers

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Tue Jun 15 01:41:22 EEST 2021


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavcodec/lossless_videodsp.c | 3 ++-
 libavcodec/lossless_videodsp.h | 3 ---
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/libavcodec/lossless_videodsp.c b/libavcodec/lossless_videodsp.c
index cff94c234d..fa0869eef9 100644
--- a/libavcodec/lossless_videodsp.c
+++ b/libavcodec/lossless_videodsp.c
@@ -17,7 +17,8 @@
  * License along with FFmpeg; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
-#include "avcodec.h"
+
+#include "config.h"
 #include "lossless_videodsp.h"
 #include "libavcodec/mathops.h"
 
diff --git a/libavcodec/lossless_videodsp.h b/libavcodec/lossless_videodsp.h
index 8077898d1a..da4baa1414 100644
--- a/libavcodec/lossless_videodsp.h
+++ b/libavcodec/lossless_videodsp.h
@@ -25,9 +25,6 @@
 #include <stdint.h>
 #include <stddef.h>
 
-#include "avcodec.h"
-#include "libavutil/cpu.h"
-
 typedef struct LLVidDSPContext {
     void (*add_bytes)(uint8_t *dst /* align 32 */, uint8_t *src /* align 32 */,
                       ptrdiff_t w);
-- 
2.27.0



More information about the ffmpeg-devel mailing list