[FFmpeg-devel] [PATCH] ffprobe: Force string_validation to int type, its accessed via AVOption as int
Michael Niedermayer
michaelni at gmx.at
Mon Feb 9 01:26:10 CET 2015
On Fri, Feb 06, 2015 at 10:10:22PM +0100, Michael Niedermayer wrote:
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> ---
> ffprobe.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
i intend to apply this and similar fixes to other parts of ffmpeg
soon ...
>
> 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
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Avoid a single point of failure, be that a person or equipment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150209/69a2fd90/attachment.asc>
More information about the ffmpeg-devel
mailing list