Mercurial > libavcodec.hg
comparison h263dec.c @ 154:f914f710b8d0 libavcodec
- Fixed a bug on H.263 MV prediction for MB on GOBs limits.
- Now we can decode H.263v1 streams found on QT without problems.
author | pulento |
---|---|
date | Mon, 12 Nov 2001 05:19:55 +0000 |
parents | cb5dabd00ba2 |
children | 1bf8c111691d |
comparison
equal
deleted
inserted
replaced
153:acbd3bc999b3 | 154:f914f710b8d0 |
---|---|
37 s->height = avctx->height; | 37 s->height = avctx->height; |
38 | 38 |
39 /* select sub codec */ | 39 /* select sub codec */ |
40 switch(avctx->codec->id) { | 40 switch(avctx->codec->id) { |
41 case CODEC_ID_H263: | 41 case CODEC_ID_H263: |
42 s->gob_number = 0; | |
43 s->first_gob_line = 0; | |
42 break; | 44 break; |
43 case CODEC_ID_MPEG4: | 45 case CODEC_ID_MPEG4: |
44 s->time_increment_bits = 4; /* default value for broken headers */ | 46 s->time_increment_bits = 4; /* default value for broken headers */ |
45 s->h263_pred = 1; | 47 s->h263_pred = 1; |
46 break; | 48 break; |