Fix a bug in GetVideoCodecString function where it didn't return the correct codec string (#35)

[ROCm/rocdecode commit: 0d9b056ee5]
This commit is contained in:
Aryan Salmanpour
2023-11-06 08:20:53 -05:00
committed by GitHub
orang tua 0c7e31bbfa
melakukan 174b672159
2 mengubah file dengan 3 tambahan dan 3 penghapusan
@@ -91,11 +91,11 @@ static const char * GetVideoCodecString(rocDecVideoCodec eCodec) {
{ rocDecVideoCodec_MPEG2, "MPEG-2" },
{ rocDecVideoCodec_MPEG4, "MPEG-4 (ASP)" },
{ rocDecVideoCodec_H264, "AVC/H.264" },
{ rocDecVideoCodec_JPEG, "M-JPEG" },
{ rocDecVideoCodec_HEVC, "H.265/HEVC" },
{ rocDecVideoCodec_AV1, "AV1" },
{ rocDecVideoCodec_VP8, "VP8" },
{ rocDecVideoCodec_VP9, "VP9" },
{ rocDecVideoCodec_AV1, "AV1" },
{ rocDecVideoCodec_JPEG, "M-JPEG" },
{ rocDecVideoCodec_NumCodecs, "Invalid" },
};