[FFmpeg-cvslog] avcodec/lossless_videodsp: Improve included headers

Andreas Rheinhardt git at videolan.org
Thu Jul 22 17:56:10 EEST 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sat Jun 12 22:31:53 2021 +0200| [f6f85d9582df178f9beca7c1d74a0777d4e9597f] | committer: Andreas Rheinhardt

avcodec/lossless_videodsp: Improve included headers

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f6f85d9582df178f9beca7c1d74a0777d4e9597f
---

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



More information about the ffmpeg-cvslog mailing list