[Ffmpeg-devel] [PATCH 1/2] Enable usage of AVOption default value

Panagiotis Issaris takis.issaris
Fri Sep 8 15:59:46 CEST 2006


Hi,

Op vrijdag 8 september 2006 15:22, schreef Panagiotis Issaris:
> Hi,
> 
> The attached patch makes AVOptions default value field work.
> 
> If this patch is refined a few times, and deemed correct, 
> I will reuse it for libavcodec by turning it into a macro
> and resend an modified patch.
> 
>  utils.c |   38 ++++++++++++++++++++++++++++++++++++++
>  1 file changed, 38 insertions(+)

The handling of flags wasn't correct. I had interpreted 
it wrongly, and this caused all flags to be set.

I'm sending an updated patch (hopefully soon) with the following
two types handled correctly:
FF_OPT_TYPE_CONST
FF_OPT_TYPE_FLAGS

With friendly regards,
Takis




More information about the ffmpeg-devel mailing list