reduce len checks, simplifies code
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 17 Jan 2007 10:44:57 +0000 (10:44 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 17 Jan 2007 10:44:57 +0000 (10:44 +0000)
commit7e4709b18ffe5debefd8127a40f23594e4b86047
treea6e3e8cfb30c636e2157956a464cdcaa50929c5c
parent04675319996bc15824613ea2c96972be06dbecfa
reduce len checks, simplifies code
there is a very small chance that a stream which is damaged && unseekable && very small packet && damage to the flags && unlucky buffer state could have a valid packet after a damaged packet lost, but i think this is so unlikely that the simplification outweights it
mans if you disagree with any commit to mpeg.c just say so and ill revert it

Originally committed as revision 7562 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/mpeg.c