OSDN Git Service

Fix nalsize check to avoid an integer overflow that made the check
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Tue, 30 Jun 2009 12:11:29 +0000 (12:11 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Tue, 30 Jun 2009 12:11:29 +0000 (12:11 +0000)
commit8d8409ca9ffd56eea6a8ae1963c15492a75af0bd
tree32abc39d37c5985fb998e9cea1c999d08ea241dd
parent0444a8c534545e9d2d6c82f815bf2135b4a55836
Fix nalsize check to avoid an integer overflow that made the check
incorrect for nalsize > INT_MAX - buf_index

Originally committed as revision 19307 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264.c