[FFmpeg-devel] [RFC] libavfilter audio framework - split patches

S.N. Hemanth Meenakshisundaram smeenaks
Tue Jul 13 10:39:01 CEST 2010

S.N. Hemanth Meenakshisundaram wrote:
>> On date Sunday 2010-07-11 16:47:21 +0200, Michael Niedermayer encoded:
>>> On Sun, Jul 11, 2010 at 06:58:15AM -0700, S.N. Hemanth Meenakshisundaram
>>> wrote:
>>>> S.N. Hemanth Meenakshisundaram wrote:
>>>> [...]
>> OK I indeed have the same concerns. I see two ways for fixing this:
>> implementing some form of heiry macros, *or* generalize the code.
>> Regards.
>> --
> Also attached are the new patches for generalization that go on top of
> existing libavfilter code before any audio stuff.
> First patch makes formats an int in the avfilter structures instead of
> enum PixelFormat.
> Second patch (on top of first) makes AVFilterPic into AVFilterBuffer,
> removes w and h from it, makes required code changes and makes the
> AVFilterBUffer's format field an int instead of PixelFormat.
> Regards,

This is part of the defaults.c patch. Makes free_video_buffer into 
free_buffer, so that it can be used for audio as well

-------------- next part --------------
A non-text attachment was scrubbed...
Name: free_buf.diff
Type: text/x-patch
Size: 939 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100713/bbc483e9/attachment.bin>

More information about the ffmpeg-devel mailing list