[FFmpeg-cvslog] ffprobe: Change string_validation to int, its accessed via AVOption as int

Michael Niedermayer git at videolan.org
Mon Mar 2 04:29:09 CET 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Feb  2 22:49:25 2015 +0100| [fd8c3277c4948ed9e73a139b7853409512ecf96d] | committer: Michael Niedermayer

ffprobe: Change string_validation to int, its 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=fd8c3277c4948ed9e73a139b7853409512ecf96d
---

 ffprobe.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ffprobe.c b/ffprobe.c
index e7dd41a..1227f59 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -338,7 +338,7 @@ struct WriterContext {
     unsigned int nb_section_frame;  ///< number of the frame  section in case we are in "packets_and_frames" section
     unsigned int nb_section_packet_frame; ///< nb_section_packet or nb_section_frame according if is_packets_and_frames
 
-    StringValidation string_validation;
+    int string_validation;
     char *string_validation_replacement;
     unsigned int string_validation_utf8_flags;
 };



More information about the ffmpeg-cvslog mailing list