summaryrefslogtreecommitdiff
path: root/libavcodec/g726.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-05-08 20:15:42 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-05-08 20:15:42 +0000
commit9cd81798187567c1495c595443923951c0c06926 (patch)
treeab1bed1b8a627f75e4aa82e41039293a2c4f51a2 /libavcodec/g726.c
parentc998bdd9a03d3efa42bfba447579330d51d033fa (diff)
#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.c2
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;
}