Actually return with an error condition if we're being asked to deal with too
authorJeff Downs <heydowns@borg.com>
Fri, 14 Dec 2007 05:48:27 +0000 (05:48 +0000)
committerJeff Downs <heydowns@borg.com>
Fri, 14 Dec 2007 05:48:27 +0000 (05:48 +0000)
commit41f7e2d11d2dca23842ee89d530ca9fa15cec9d8
tree74ff571b36057b519dd50f8e79d19dca7d70e54c
parent33e00731294e304ef7935fdb6dd7214bc4df391f
Actually return with an error condition if we're being asked to deal with too
many reference frames. Also check max num ref frames against our internal
ref buffer sizes.
Part of fix for roundup issue 281

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