[FFmpeg-devel] MPEG-PS demuxer index memory usage

Paul Kelly paul
Sat Jan 5 19:04:49 CET 2008

On Sat, 5 Jan 2008, Paul Kelly wrote:

> I guess it's still not complete though, as if we do it this way then we 
> should add a way of accessing the new functionality as a command-line option 
> in ffmpeg. Am I right in thinking that it involves something in

Perhaps it could be done by adding the max_index_size also to 
AVFormatContext, and then initialising the value in AVStream to the 
"parent value" in av_new_stream()? Or is that far too messy. Maybe only 
the value in AVFormatContext could be regarded as publically modifiable 
and the copied value in AVStream could be removed some time in the future. 
Hypothetical patch attached (to be applied after the previous one).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: max_index_size2.diff
Type: text/x-diff
Size: 1693 bytes
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080105/f498483f/attachment.diff>

More information about the ffmpeg-devel mailing list