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

Michael Niedermayer git at videolan.org
Mon Apr 6 14:58:20 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Apr  6 14:45:17 2015 +0200| [8a8a1cce6c3a0f4681ff80fc461be82b014d97e8] | committer: Michael Niedermayer

avfilter/vsrc_mptestsrc: 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=8a8a1cce6c3a0f4681ff80fc461be82b014d97e8
---

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

diff --git a/libavfilter/vsrc_mptestsrc.c b/libavfilter/vsrc_mptestsrc.c
index 0b80e47..d93df7d 100644
--- a/libavfilter/vsrc_mptestsrc.c
+++ b/libavfilter/vsrc_mptestsrc.c
@@ -55,7 +55,7 @@ typedef struct MPTestContext {
     AVRational frame_rate;
     int64_t pts, max_pts, duration;
     int hsub, vsub;
-    enum test_type test;
+    int test;           ///< test_type
 } MPTestContext;
 
 #define OFFSET(x) offsetof(MPTestContext, x)



More information about the ffmpeg-cvslog mailing list