mpegps: drop incorrect line of sofdec detection

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-10-06 12:10:23 +02:00
parent 5bebb6e64b
commit 955113e31b

View File

@ -119,7 +119,6 @@ static int mpegps_read_header(AVFormatContext *s,
m->sofdec = -1;
do {
v = avio_r8(s->pb);
m->header_state = m->header_state << 8 | v;
m->sofdec++;
} while (v == sofdec[i] && i++ < 6);