From 21b68cdbae6576bb58c19dd44c0669293f7d05d1 Mon Sep 17 00:00:00 2001 From: Philip Langdale Date: Sun, 30 Oct 2016 10:30:27 -0700 Subject: avcodec/cuvid: Don't claim to decode h.263 (it doesn't) Turns out cuvid doesn't support h.263. --- libavcodec/cuvid.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'libavcodec/cuvid.c') diff --git a/libavcodec/cuvid.c b/libavcodec/cuvid.c index 24ade94ab9..eafce0ac19 100644 --- a/libavcodec/cuvid.c +++ b/libavcodec/cuvid.c @@ -664,11 +664,6 @@ static av_cold int cuvid_decode_init(AVCodecContext *avctx) ctx->cuparseinfo.pExtVideoInfo = &ctx->cuparse_ext; switch (avctx->codec->id) { -#if CONFIG_H263_CUVID_DECODER - case AV_CODEC_ID_H263: - ctx->cuparseinfo.CodecType = cudaVideoCodec_MPEG4; - break; -#endif #if CONFIG_H264_CUVID_DECODER case AV_CODEC_ID_H264: ctx->cuparseinfo.CodecType = cudaVideoCodec_H264; @@ -895,10 +890,6 @@ static const AVOption options[] = { DEFINE_CUVID_CODEC(hevc, HEVC) #endif -#if CONFIG_H263_CUVID_DECODER -DEFINE_CUVID_CODEC(h263, H263) -#endif - #if CONFIG_H264_CUVID_DECODER DEFINE_CUVID_CODEC(h264, H264) #endif -- cgit v1.2.3