comparison snow.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 eaa57c3336fc
children 55b83c229b88
comparison
equal deleted inserted replaced
2657:24472383b36f 2658:d1609cfeb1d0
3338 static int encode_init(AVCodecContext *avctx) 3338 static int encode_init(AVCodecContext *avctx)
3339 { 3339 {
3340 SnowContext *s = avctx->priv_data; 3340 SnowContext *s = avctx->priv_data;
3341 int plane_index; 3341 int plane_index;
3342 3342
3343 if(avctx->strict_std_compliance >= 0){ 3343 if(avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL){
3344 av_log(avctx, AV_LOG_ERROR, "this codec is under development, files encoded with it may not be decodable with future versions!!!\n" 3344 av_log(avctx, AV_LOG_ERROR, "this codec is under development, files encoded with it may not be decodable with future versions!!!\n"
3345 "use vstrict=-1 / -strict -1 to use it anyway\n"); 3345 "use vstrict=-2 / -strict -2 to use it anyway\n");
3346 return -1; 3346 return -1;
3347 } 3347 }
3348 3348
3349 common_init(avctx); 3349 common_init(avctx);
3350 alloc_blocks(s); 3350 alloc_blocks(s);