Fix cmd_pos bounds check to avoid the overflow case.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 15 Aug 2009 00:02:42 +0000 (00:02 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 15 Aug 2009 00:02:42 +0000 (00:02 +0000)
commitffbe087b589506cb0e671fa711e5c2c6ea203ac0
tree47e5245b49358eea4f8c4a3abc091a76d143227e
parent84c1b149b22e9c370ad84b0cefc9e86bc0407c63
Fix cmd_pos bounds check to avoid the overflow case.

Originally committed as revision 19640 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/dvdsubdec.c