oggdec: add support for Xiph's CELT codec
[ffmpeg.git] / libavformat / utils.c
index b59cde0a2f0712e039f5f109c4efd252d3fec58f..d0ad3589b67b0b89f890d50c7f5a06a91a1a2807 100644 (file)
@@ -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_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:
             return 0;
         break;
     case AVMEDIA_TYPE_VIDEO: