comparison huffyuv.c @ 2658:d1609cfeb1d0 libavcodec

#defines for strict_std_compliance and split between inofficial extensions and non standarized things
author michael
date Sun, 08 May 2005 20:15:42 +0000
parents 511e3afc43e1
children fde28cb7e3d5
comparison
equal deleted inserted replaced
2657:24472383b36f 2658:d1609cfeb1d0
539 av_log(avctx, AV_LOG_ERROR, "Error: per-frame huffman tables are not supported by huffyuv; use vcodec=ffvhuff\n"); 539 av_log(avctx, AV_LOG_ERROR, "Error: per-frame huffman tables are not supported by huffyuv; use vcodec=ffvhuff\n");
540 return -1; 540 return -1;
541 } 541 }
542 if(s->interlaced != ( s->height > 288 )) 542 if(s->interlaced != ( s->height > 288 ))
543 av_log(avctx, AV_LOG_INFO, "using huffyuv 2.2.0 or newer interlacing flag\n"); 543 av_log(avctx, AV_LOG_INFO, "using huffyuv 2.2.0 or newer interlacing flag\n");
544 }else if(avctx->strict_std_compliance>=0){ 544 }else if(avctx->strict_std_compliance>FF_COMPLIANCE_EXPERIMENTAL){
545 av_log(avctx, AV_LOG_ERROR, "This codec is under development; files encoded with it may not be decodable with future versions!!! Set vstrict=-1 / -strict -1 to use it anyway.\n"); 545 av_log(avctx, AV_LOG_ERROR, "This codec is under development; files encoded with it may not be decodable with future versions!!! Set vstrict=-2 / -strict -2 to use it anyway.\n");
546 return -1; 546 return -1;
547 } 547 }
548 548
549 ((uint8_t*)avctx->extradata)[0]= s->predictor; 549 ((uint8_t*)avctx->extradata)[0]= s->predictor;
550 ((uint8_t*)avctx->extradata)[1]= s->bitstream_bpp; 550 ((uint8_t*)avctx->extradata)[1]= s->bitstream_bpp;