[FFmpeg-devel] [HACK] Remove MAX_STREAMS usages
Aurelien Jacobs
aurel
Tue Aug 10 01:14:56 CEST 2010
On Sun, Aug 08, 2010 at 10:40:40PM +0200, Reimar D?ffinger wrote:
> Hello,
> this is just a quick hack that removes all usages of
> MAX_STREAMS.
>
> [...]
And here are the last bits I extracted/reworked from this patch.
First patch in this email uses nb_streams instead of MAX_STREAMS to
dynamically alloc arrays in libavformat/utils.c. This is compatible
with both the old API and the new API.
Second and last patch actually add the new API, finally getting ride of
MAX_STREAMS. It is obviously disabled until next major bump.
Aurel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: max_stream.diff
Type: text/x-diff
Size: 3268 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100810/6276cb4c/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: max_stream_api.diff
Type: text/x-diff
Size: 1423 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100810/6276cb4c/attachment-0001.diff>
More information about the ffmpeg-devel
mailing list