OSDN Git Service

Allocate pictures with enough padding for jpeg.
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 20 Nov 2009 22:14:37 +0000 (22:14 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 20 Nov 2009 22:14:37 +0000 (22:14 +0000)
commit98c82d691089214251283a1c16808c10f0744ca1
tree5d9466835c8e9ca9e2b591b3305ad1f50cdc38bb
parent9fe08942102ecd2dda0d6751b3c7d9f736cc4ee3
Allocate pictures with enough padding for jpeg.
Ensure that jpeg does not use mbs that could require larger padding.
This might have been exploitable.

Originally committed as revision 20566 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mjpegdec.c
libavcodec/utils.c