[FFmpeg-cvslog] avfilter/vf_phase: Change enum to int, which is accessed via AVOption as int

Michael Niedermayer git at videolan.org
Fri Mar 20 19:21:03 CET 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Mar 20 19:09:38 2015 +0100| [59c06902e838beb26d12fbd4330150d0b0edbf15] | committer: Michael Niedermayer

avfilter/vf_phase: 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=59c06902e838beb26d12fbd4330150d0b0edbf15
---

 libavfilter/vf_phase.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_phase.c b/libavfilter/vf_phase.c
index 23b339c..1818355 100644
--- a/libavfilter/vf_phase.c
+++ b/libavfilter/vf_phase.c
@@ -41,7 +41,7 @@ enum PhaseMode {
 
 typedef struct PhaseContext {
     const AVClass *class;
-    enum PhaseMode mode;
+    int mode;                   ///<PhaseMode
     AVFrame *frame; /* previous frame */
     int nb_planes;
     int planeheight[4];



More information about the ffmpeg-cvslog mailing list