diff mbox series

[FFmpeg-devel,3/7] avcodec/mpegvideo: Move float.h inclusion to mpegvideoenc.h

Message ID DB6PR0101MB2214933E31DE36811F82BA798FCF9@DB6PR0101MB2214.eurprd01.prod.exchangelabs.com
State Accepted
Commit 2c8f97831ad290c24f69b6d3fdaf9153830ce743
Headers show
Series [FFmpeg-devel,1/7] avcodec/error_resilience: Only keep what is needed from MECmpContext | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt May 16, 2022, 6:38 p.m. UTC
It is only needed for the options in mpegvideoenc.h.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/mpegvideo.h    | 2 --
 libavcodec/mpegvideoenc.h | 2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index 0f816e5807..a832369f7f 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -28,8 +28,6 @@ 
 #ifndef AVCODEC_MPEGVIDEO_H
 #define AVCODEC_MPEGVIDEO_H
 
-#include <float.h>
-
 #include "avcodec.h"
 #include "blockdsp.h"
 #include "error_resilience.h"
diff --git a/libavcodec/mpegvideoenc.h b/libavcodec/mpegvideoenc.h
index fae41457bf..a0e8913ea6 100644
--- a/libavcodec/mpegvideoenc.h
+++ b/libavcodec/mpegvideoenc.h
@@ -28,6 +28,8 @@ 
 #ifndef AVCODEC_MPEGVIDEOENC_H
 #define AVCODEC_MPEGVIDEOENC_H
 
+#include <float.h>
+
 #include "libavutil/opt.h"
 #include "mpegvideo.h"