Mercurial > libavcodec.hg
diff g726.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 | 582e635cfa08 |
children | ef2149182f1c |
line wrap: on
line diff
--- a/g726.c Sun May 08 18:48:19 2005 +0000 +++ b/g726.c Sun May 08 20:15:42 2005 +0000 @@ -327,7 +327,7 @@ 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; }