comparison huffyuv.c @ 2521:d3885f927bc7 libavcodec

-strict -1 comment fix
author michael
date Thu, 24 Feb 2005 16:39:03 +0000
parents 366e8a09eb6e
children 9a7770ebed14
comparison
equal deleted inserted replaced
2520:047f7bad4cbb 2521:d3885f927bc7
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>=0){
545 av_log(avctx, AV_LOG_ERROR, "This codec is under development; files encoded with it may not be decodeable with future versions!!! Set vstrict=-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 decodeable with future versions!!! Set vstrict=-1 / -strict -1 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;