[FFmpeg-devel] [PATCH] Check malloc values in swscale.

Ramiro Polla ramiro.polla
Mon Aug 17 02:41:06 CEST 2009


On Sun, Aug 16, 2009 at 7:34 PM, Reimar
D?ffinger<Reimar.Doeffinger at gmx.de> wrote:
> On Sun, Aug 16, 2009 at 07:25:08PM -0300, Ramiro Polla wrote:
>> On Sun, Aug 16, 2009 at 12:02 AM, Reimar
>> D?ffinger<Reimar.Doeffinger at gmx.de> wrote:
>> > Though currently I think it would make most sense to start with using
>> > the sws_getConstVec function where possible, it should cut down future
>> > diffs most.
>>
>> Where can it be used that much?
>
> I already previously pointed out the 4 out the 7 allocations that should
> actually be using sws_getConstVec anyway instead of duplicating its code
> in addition to the allocation itself.

Ignore the old patchset. Review these instead.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Reuse-sws_getConstVec-where-possible.patch
Type: text/x-diff
Size: 3473 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090816/f95b6250/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Introduce-and-use-sws_allocVec.patch
Type: text/x-diff
Size: 2943 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090816/f95b6250/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Check-for-return-value-of-sws_allocVec-and-sws_get.patch
Type: text/x-diff
Size: 2586 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090816/f95b6250/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Cosmetics.patch
Type: text/x-diff
Size: 3589 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090816/f95b6250/attachment-0003.patch>



More information about the ffmpeg-devel mailing list