aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-06-12 22:31:53 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-07-22 13:00:11 +0200
commitf6f85d9582df178f9beca7c1d74a0777d4e9597f (patch)
treec5a9365facb3b1e27aa746735104f983eac51dda
parent69f120ead7fbec9a469a5c0950b2a44fbc89f7a0 (diff)
downloadffmpeg-f6f85d9582df178f9beca7c1d74a0777d4e9597f.tar.gz
avcodec/lossless_videodsp: Improve included headers
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/lossless_videodsp.c3
-rw-r--r--libavcodec/lossless_videodsp.h3
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);