comparison ffv1.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 ef2149182f1c
comparison
equal deleted inserted replaced
2657:24472383b36f 2658:d1609cfeb1d0
548 static int encode_init(AVCodecContext *avctx) 548 static int encode_init(AVCodecContext *avctx)
549 { 549 {
550 FFV1Context *s = avctx->priv_data; 550 FFV1Context *s = avctx->priv_data;
551 int i; 551 int i;
552 552
553 if(avctx->strict_std_compliance >= 0){ 553 if(avctx->strict_std_compliance >FF_COMPLIANCE_EXPERIMENTAL){
554 av_log(avctx, AV_LOG_ERROR, "this codec is under development, files encoded with it may not be decodeable with future versions!!!\n" 554 av_log(avctx, AV_LOG_ERROR, "this codec is under development, files encoded with it may not be decodeable with future versions!!!\n"
555 "use vstrict=-1 / -strict -1 to use it anyway\n"); 555 "use vstrict=-2 / -strict -2 to use it anyway\n");
556 return -1; 556 return -1;
557 } 557 }
558 558
559 common_init(avctx); 559 common_init(avctx);
560 560