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

Panagiotis Issaris takis.issaris
Fri Sep 8 16:25:25 CEST 2006


Hi,

Op vrijdag 8 september 2006 15:22, schreef Panagiotis Issaris:
> 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 attached patch makes AVOptions default values get set
for both libavformat and libavcodec. The AVOptions flag
behavior should be fixed. Regression tests succeed.

 libavcodec/opt.h    |   36 ++++++++++++++++++++++++++++++++++++
 libavcodec/utils.c  |    3 +++
 libavformat/utils.c |    4 ++++
 3 files changed, 43 insertions(+)

With friendly regards,
Takis

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pi-20060908T162005-ffmpeg-enable_usage_of_default_avoptions.diff
Type: text/x-diff
Size: 2397 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060908/9ab2c6e4/attachment.diff>



More information about the ffmpeg-devel mailing list