From fd8c3277c4948ed9e73a139b7853409512ecf96d Mon Sep 17 00:00:00 2001 From: Michael Niedermayer <michaelni@gmx.at> Date: Mon, 2 Feb 2015 22:49:25 +0100 Subject: [PATCH] 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@gmx.at> --- ffprobe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffprobe.c b/ffprobe.c index e7dd41aa759..1227f59c0bf 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; }; -- GitLab