[FFmpeg-devel] [PATCH] h264: allocate PPS and SPS dynamically

Andreas Öman andreas
Mon May 28 15:27:56 CEST 2007


Michael Niedermayer wrote:
> Hi
> On Mon, May 28, 2007 at 03:00:19PM +0200, Andreas ?man wrote:
>> Hi
>> The following patch reduces sizeof(H264Context) from ~240kB to ~140kB.
>> If only a few SPS and PPS are used (which i believe is most common)
>> thus, it should save some memory footprint.
> your code looks exploitable

Are you referring to that the "const int id" argument to
alloc_parameter_set() is not unsigned?
Otherwise i fail to see it.

More information about the ffmpeg-devel mailing list