summaryrefslogtreecommitdiff
path: root/libavcodec/cuvid.c
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2016-10-30 10:30:27 -0700
committerPhilip Langdale <philipl@overt.org>2016-10-30 15:47:37 -0700
commit21b68cdbae6576bb58c19dd44c0669293f7d05d1 (patch)
tree1395aa061f642c849aad331f9f1416cac786869b /libavcodec/cuvid.c
parent5540d6c1343e6d1e06d6601b7d35884761711e3e (diff)
avcodec/cuvid: Don't claim to decode h.263 (it doesn't)
Turns out cuvid doesn't support h.263.
Diffstat (limited to 'libavcodec/cuvid.c')
-rw-r--r--libavcodec/cuvid.c9
1 files changed, 0 insertions, 9 deletions
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