comparison h263dec.c @ 669:b4bddbde44f3 libavcodec

aspect (ext. par too) support for h263 and mpeg4 (inc. build becouse of new vars)
author al3x
date Fri, 13 Sep 2002 19:31:32 +0000
parents dc8df8792a24
children 85b071dfc7e3
comparison
equal deleted inserted replaced
668:acd1a808343b 669:b4bddbde44f3
191 } 191 }
192 if (!s->context_initialized) { 192 if (!s->context_initialized) {
193 avctx->width = s->width; 193 avctx->width = s->width;
194 avctx->height = s->height; 194 avctx->height = s->height;
195 avctx->aspect_ratio_info= s->aspect_ratio_info; 195 avctx->aspect_ratio_info= s->aspect_ratio_info;
196 if (s->aspect_ratio_info == FF_ASPECT_EXTENDED)
197 {
198 avctx->aspected_width = s->aspected_width;
199 avctx->aspected_height = s->aspected_height;
200 }
196 if (MPV_common_init(s) < 0) 201 if (MPV_common_init(s) < 0)
197 return -1; 202 return -1;
198 } 203 }
199 204
200 if(ret==FRAME_SKIPED) return get_consumed_bytes(s, buf_size); 205 if(ret==FRAME_SKIPED) return get_consumed_bytes(s, buf_size);