diff mbox series

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

Message ID HE1PR0301MB2154621DF1B8C3708DBEE6D78F319@HE1PR0301MB2154.eurprd03.prod.outlook.com
State Accepted
Commit f6f85d9582df178f9beca7c1d74a0777d4e9597f
Headers show
Series [FFmpeg-devel,01/17] avcodec/avcodec: Stop including bsf.h in avcodec.h
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt June 14, 2021, 10:41 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/lossless_videodsp.c | 3 ++-
 libavcodec/lossless_videodsp.h | 3 ---
 2 files changed, 2 insertions(+), 4 deletions(-)
diff mbox series

Patch

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);