comparison vc1.c @ 4400:b78c1074a9cc libavcodec

Fail on VC-1 interlaced streams
author kostya
date Wed, 24 Jan 2007 17:47:42 +0000
parents 05e932ddaaa9
children 003b8c6dd756
comparison
equal deleted inserted replaced
4399:daa2a095181d 4400:b78c1074a9cc
1266 1266
1267 v->s.avctx->coded_width = (get_bits(gb, 12) + 1) << 1; 1267 v->s.avctx->coded_width = (get_bits(gb, 12) + 1) << 1;
1268 v->s.avctx->coded_height = (get_bits(gb, 12) + 1) << 1; 1268 v->s.avctx->coded_height = (get_bits(gb, 12) + 1) << 1;
1269 v->broadcast = get_bits1(gb); 1269 v->broadcast = get_bits1(gb);
1270 v->interlace = get_bits1(gb); 1270 v->interlace = get_bits1(gb);
1271 if(v->interlace){
1272 av_log(v->s.avctx, AV_LOG_ERROR, "Interlaced mode not supported (yet)\n");
1273 return -1;
1274 }
1271 v->tfcntrflag = get_bits1(gb); 1275 v->tfcntrflag = get_bits1(gb);
1272 v->finterpflag = get_bits1(gb); 1276 v->finterpflag = get_bits1(gb);
1273 get_bits1(gb); // reserved 1277 get_bits1(gb); // reserved
1274 v->psf = get_bits1(gb); 1278 v->psf = get_bits1(gb);
1275 if(v->psf) { //PsF, 6.1.13 1279 if(v->psf) { //PsF, 6.1.13