summaryrefslogtreecommitdiff
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2011-09-26 13:19:05 +0200
committerDiego Biurrun <diego@biurrun.de>2011-09-26 13:51:29 +0200
commit4ca59d19485afce923c6f1d8ccef980011b76f50 (patch)
treebb21190089a9b8f4d4d0d900036b733acedda130 /libavformat/utils.c
parentb15a9888a8f8e8cc9784ffd8d5d0307900fb78bb (diff)
oggdec: add support for Xiph's CELT codec
This patch also introduces CODEC_ID_CELT. Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index b59cde0a2f..d0ad3589b6 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -2066,7 +2066,8 @@ static int has_codec_parameters(AVCodecContext *avctx)
avctx->codec_id == CODEC_ID_MP1 ||
avctx->codec_id == CODEC_ID_MP2 ||
avctx->codec_id == CODEC_ID_MP3 ||
- avctx->codec_id == CODEC_ID_SPEEX))
+ avctx->codec_id == CODEC_ID_SPEEX ||
+ avctx->codec_id == CODEC_ID_CELT))
return 0;
break;
case AVMEDIA_TYPE_VIDEO: