[FFmpeg-cvslog] avcodec/ratecontrol: Use forward declaration for AVExpr
Andreas Rheinhardt
git at videolan.org
Sat Mar 30 06:26:57 EET 2024
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Wed Mar 27 01:33:55 2024 +0100| [dc7a60529c27355927acec5ffe600c8d0d650c67] | committer: Andreas Rheinhardt
avcodec/ratecontrol: Use forward declaration for AVExpr
Avoids including eval.h everywhere where mpegvideo.h
is included.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dc7a60529c27355927acec5ffe600c8d0d650c67
---
libavcodec/ratecontrol.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/libavcodec/ratecontrol.h b/libavcodec/ratecontrol.h
index 4de80fad90..1f44b44341 100644
--- a/libavcodec/ratecontrol.h
+++ b/libavcodec/ratecontrol.h
@@ -28,9 +28,7 @@
* ratecontrol header.
*/
-#include <stdio.h>
#include <stdint.h>
-#include "libavutil/eval.h"
typedef struct Predictor{
double coeff;
@@ -80,7 +78,7 @@ typedef struct RateControlContext{
int frame_count[5];
int last_non_b_pict_type;
- AVExpr * rc_eq_eval;
+ struct AVExpr *rc_eq_eval;
}RateControlContext;
struct MpegEncContext;
More information about the ffmpeg-cvslog
mailing list