|
|
|
@ -782,7 +782,6 @@ resync: |
|
|
|
|
st = s->streams[n]; |
|
|
|
|
ast = st->priv_data; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(s->nb_streams>=2){ |
|
|
|
|
AVStream *st1 = s->streams[1]; |
|
|
|
|
AVIStream *ast1= st1->priv_data; |
|
|
|
@ -821,8 +820,7 @@ resync: |
|
|
|
|
ast->pal[k] = get_be32(pb)>>8;// b + (g << 8) + (r << 16);
|
|
|
|
|
ast->has_pal= 1; |
|
|
|
|
goto resync; |
|
|
|
|
} else |
|
|
|
|
if( ((ast->prefix_count<5 || sync+9 > i) && d[2]<128 && d[3]<128) || |
|
|
|
|
} else if( ((ast->prefix_count<5 || sync+9 > i) && d[2]<128 && d[3]<128) || |
|
|
|
|
d[2]*256+d[3] == ast->prefix /*||
|
|
|
|
|
(d[2] == 'd' && d[3] == 'c') || |
|
|
|
|
(d[2] == 'w' && d[3] == 'b')*/) { |
|
|
|
|