10l set AVPacket.size to the true size of the returned data instead of
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 31 Dec 2008 02:47:54 +0000 (02:47 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 31 Dec 2008 02:47:54 +0000 (02:47 +0000)
commitce0453aac99c826ba0093f701e4dea67718ce457
treec65270c389bb08b86a2d7a9a6a13f3b77a4d61ca
parent188e67eaf426fecfb28596e8bf529ef01f48a15c
10l set AVPacket.size to the true size of the returned data instead of
the (larger) allocated size. (prevents segfaults due to later failures
from 900MB-sized packets, yes fuzzed file not a valid one)

Originally committed as revision 16404 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rmdec.c