diff options
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; } |