Mercurial > libavcodec.hg
comparison h263.c @ 274:d0c186bcf075 libavcodec
use the width & height from the mpeg4 header ... in the case that its complete
author | michaelni |
---|---|
date | Tue, 19 Mar 2002 03:51:36 +0000 |
parents | 897dc7c6aa94 |
children | 5cb2978e701f |
comparison
equal
deleted
inserted
replaced
273:34f40a0fc840 | 274:d0c186bcf075 |
---|---|
2147 skip_bits1(&s->gb); /* marker */ | 2147 skip_bits1(&s->gb); /* marker */ |
2148 width = get_bits(&s->gb, 13); | 2148 width = get_bits(&s->gb, 13); |
2149 skip_bits1(&s->gb); /* marker */ | 2149 skip_bits1(&s->gb); /* marker */ |
2150 height = get_bits(&s->gb, 13); | 2150 height = get_bits(&s->gb, 13); |
2151 skip_bits1(&s->gb); /* marker */ | 2151 skip_bits1(&s->gb); /* marker */ |
2152 if(width && height){ /* they should be non zero but who knows ... */ | |
2153 s->width = width; | |
2154 s->height = height; | |
2155 } | |
2152 } | 2156 } |
2153 | 2157 |
2154 if(get_bits1(&s->gb)) printf("interlaced not supported\n"); /* interlaced */ | 2158 if(get_bits1(&s->gb)) printf("interlaced not supported\n"); /* interlaced */ |
2155 if(!get_bits1(&s->gb)) printf("OBMC not supported\n"); /* OBMC Disable */ | 2159 if(!get_bits1(&s->gb)) printf("OBMC not supported\n"); /* OBMC Disable */ |
2156 if (vo_ver_id == 1) { | 2160 if (vo_ver_id == 1) { |