summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/g726.c
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2005-05-28 01:40:40 +0000
committerMike Melanson <mike@multimedia.cx>2005-05-28 01:40:40 +0000
commit875da7c6e187d3aacaac0107deb45200286dfa7d (patch)
treee2d712d2421af99313febe40d6e269a6e2c76dc7 /src/libffmpeg/libavcodec/g726.c
parent59167cc289f66b54b862c2001c1a6a6c4e8f86d0 (diff)
downloadxine-lib-875da7c6e187d3aacaac0107deb45200286dfa7d.tar.gz
xine-lib-875da7c6e187d3aacaac0107deb45200286dfa7d.tar.bz2
sync to libavcodec build 4755
CVS patchset: 7567 CVS date: 2005/05/28 01:40:40
Diffstat (limited to 'src/libffmpeg/libavcodec/g726.c')
-rw-r--r--src/libffmpeg/libavcodec/g726.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libffmpeg/libavcodec/g726.c b/src/libffmpeg/libavcodec/g726.c
index bc9374d3e..efc3c5fae 100644
--- a/src/libffmpeg/libavcodec/g726.c
+++ b/src/libffmpeg/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;
}