diff --git a/libavformat/h261dec.c b/libavformat/h261dec.c index 0bfc8242264d6f4a410bb447791bdb557abb2747..a1d682128dd28bfc202b86d9902154a383b0e88d 100644 --- a/libavformat/h261dec.c +++ b/libavformat/h261dec.c @@ -43,10 +43,10 @@ static int h261_probe(AVProbeData *p) else valid_psc++; if(src_fmt){ // CIF - static const int lut[16]={1,2,3,4,5,6,7,8,9,10,11,12,0,1,2,3}; + static const int lut[16]={1,2,3,4,5,6,7,8,9,10,11,12,0,16,16,16}; next_gn = lut[gn]; }else{ //QCIF - static const int lut[16]={1,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4}; + static const int lut[16]={1,3,16,5,16,0,16,16,16,16,16,16,16,16,16,16}; next_gn = lut[gn]; } }