diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-05-08 20:15:42 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-05-08 20:15:42 +0000 |
commit | 9cd81798187567c1495c595443923951c0c06926 (patch) | |
tree | ab1bed1b8a627f75e4aa82e41039293a2c4f51a2 /libavcodec/g726.c | |
parent | c998bdd9a03d3efa42bfba447579330d51d033fa (diff) | |
download | ffmpeg-9cd81798187567c1495c595443923951c0c06926.tar.gz |
#defines for strict_std_compliance and split between inofficial extensions and non standarized things
Originally committed as revision 4205 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/g726.c')
-rw-r--r-- | libavcodec/g726.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/g726.c b/libavcodec/g726.c index bc9374d3e6..efc3c5faef 100644 --- a/libavcodec/g726.c +++ b/libavcodec/g726.c @@ -327,7 +327,7 @@ static int g726_init(AVCodecContext * avctx) av_log(avctx, AV_LOG_ERROR, "G726: unsupported audio format\n"); return -1; } - if (avctx->sample_rate != 8000 && avctx->strict_std_compliance>=0) { + if (avctx->sample_rate != 8000 && avctx->strict_std_compliance>FF_COMPLIANCE_INOFFICIAL) { av_log(avctx, AV_LOG_ERROR, "G726: unsupported audio format\n"); return -1; } |