OSDN Git Service

Ensure that our total reference frame count does not exceed the SPS
authorJeff Downs <heydowns@borg.com>
Fri, 14 Dec 2007 06:25:23 +0000 (06:25 +0000)
committerJeff Downs <heydowns@borg.com>
Fri, 14 Dec 2007 06:25:23 +0000 (06:25 +0000)
commitaeb59e839f97e88dd0b5f0b2a4422a9ee75321e5
tree3d39f15dfdbc8670f24df0d4740b3a604600bf51
parent41f7e2d11d2dca23842ee89d530ca9fa15cec9d8
Ensure that our total reference frame count does not exceed the SPS
max frame count, which is limited to less than the size of the
reference buffers, thereby preventing overflow.
Part of fix for issue 281.

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