1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-09 14:14:39 +02:00

avcodec/ratecontrol: Use forward declaration for AVExpr

Avoids including eval.h everywhere where mpegvideo.h
is included.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2024-03-27 01:33:55 +01:00
parent 348461e550
commit dc7a60529c

View File

@ -28,9 +28,7 @@
* ratecontrol header. * ratecontrol header.
*/ */
#include <stdio.h>
#include <stdint.h> #include <stdint.h>
#include "libavutil/eval.h"
typedef struct Predictor{ typedef struct Predictor{
double coeff; double coeff;
@ -80,7 +78,7 @@ typedef struct RateControlContext{
int frame_count[5]; int frame_count[5];
int last_non_b_pict_type; int last_non_b_pict_type;
AVExpr * rc_eq_eval; struct AVExpr *rc_eq_eval;
}RateControlContext; }RateControlContext;
struct MpegEncContext; struct MpegEncContext;