[FFmpeg-devel] [PATCH 1/7] ffprobe: Change string_validation to int, its accessed via AVOption as int
Stefano Sabatini
stefasab at gmail.com
Wed Feb 4 12:34:53 CET 2015
On date Monday 2015-02-02 23:22:09 +0100, Michael Niedermayer encoded:
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> ---
> ffprobe.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/ffprobe.c b/ffprobe.c
> index d352bb6b..30f9cba 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;
> };
What's the problem with the enum and av_opt()?
Enums help with debugging.
--
FFmpeg = Fabulous & Funny Meaningless Ponderous Extended Ghost
More information about the ffmpeg-devel
mailing list