[FFmpeg-cvslog] avfilter/vf_signalstats: Change enum to int, which is accessed via AVOption as int
Michael Niedermayer
git at videolan.org
Sun Mar 22 17:38:52 CET 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Mar 22 17:31:34 2015 +0100| [74097e09023c2ebea3570dbc7a21ea493fdd7ebe] | committer: Michael Niedermayer
avfilter/vf_signalstats: Change enum to int, which is accessed via AVOption as int
This fixes depending on implementation defined behavior
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=74097e09023c2ebea3570dbc7a21ea493fdd7ebe
---
libavfilter/vf_signalstats.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_signalstats.c b/libavfilter/vf_signalstats.c
index 8632761..e89bd79 100644
--- a/libavfilter/vf_signalstats.c
+++ b/libavfilter/vf_signalstats.c
@@ -40,7 +40,7 @@ typedef struct {
int vsub; // vertical subsampling
int fs; // pixel count per frame
int cfs; // pixel count per frame of chroma planes
- enum FilterMode outfilter;
+ int outfilter; // FilterMode
int filters;
AVFrame *frame_prev;
uint8_t rgba_color[4];
More information about the ffmpeg-cvslog
mailing list