Mercurial > libavcodec.hg
comparison ffv1.c @ 3259:6baa0bfee0b8 libavcodec
ffv1 and ffvhuff havnt changed since a long time and noone proposed any
changes within 1 month after my warning so they are officially no longer
experimental and we will gurantee decodeability of files encoded with
the currenzt ffv1/ffvhuff in the future
author | michael |
---|---|
date | Fri, 14 Apr 2006 10:37:40 +0000 |
parents | cfc5b4a05633 |
children | c53ef1f63575 |
comparison
equal
deleted
inserted
replaced
3258:8d42d21e570c | 3259:6baa0bfee0b8 |
---|---|
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 >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" | |
555 "use vstrict=-2 / -strict -2 to use it anyway\n"); | |
556 return -1; | |
557 } | |
558 | |
559 common_init(avctx); | 553 common_init(avctx); |
560 | 554 |
561 s->version=0; | 555 s->version=0; |
562 s->ac= avctx->coder_type; | 556 s->ac= avctx->coder_type; |
563 | 557 |