ffmpeg | branch: master | Andreas Rheinhardt <[email protected]> | 
Mon May 16 18:15:37 2022 +0200| [2c8f97831ad290c24f69b6d3fdaf9153830ce743] | 
committer: Andreas Rheinhardt

avcodec/mpegvideo: Move float.h inclusion to mpegvideoenc.h

It is only needed for the options in mpegvideoenc.h.

Signed-off-by: Andreas Rheinhardt <[email protected]>

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

 libavcodec/mpegvideo.h    | 2 --
 libavcodec/mpegvideoenc.h | 2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)

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"
 

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to