h264: fix the check for invalid SPS:num_ref_frames.
authorLaurent Aimar <fenrir@videolan.org>
Sun, 2 Oct 2011 14:06:38 +0000 (16:06 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 6 Nov 2011 18:49:12 +0000 (19:49 +0100)
commitddbbe500b04a6c2a6551461843e6c94e5576fcbf
treedf0ec00c69b01960461aea625076b66f02578fc5
parentd1a5b53ededd091484949a33c6e9f97d4612602d
h264: fix the check for invalid SPS:num_ref_frames.

This patch set the limit to 16.

For information, thoses previous commits:
41f7e2d11d2dca23842ee89d530ca9fa15cec9d8
5cbb0e70a0a2ee99eb3cb09e837b9a1f7355b9bc
assumed it was either 30 or 32.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit bcf881a6858760ecbd9ff4352a38813dc4232dd6)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264.c