mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +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:
parent
348461e550
commit
dc7a60529c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user