[FFmpeg-devel] [PATCH] ffprobe: Force string_validation to int type, its accessed via AVOption as int

Michael Niedermayer michaelni at gmx.at
Fri Feb 6 22:10:22 CET 2015


Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 ffprobe.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ffprobe.c b/ffprobe.c
index d352bb6b..8617c96 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -294,7 +294,8 @@ typedef enum {
     WRITER_STRING_VALIDATION_FAIL,
     WRITER_STRING_VALIDATION_REPLACE,
     WRITER_STRING_VALIDATION_IGNORE,
-    WRITER_STRING_VALIDATION_NB
+    WRITER_STRING_VALIDATION_NB,
+    WRITER_STRING_VALIDATION_FORCE_ENUM_TO_INT_TYPE= 0x76543210,
 } StringValidation;
 
 typedef struct Writer {
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list