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

Šī revīzija ir iekļauta:
Aryan Salmanpour
2023-11-06 08:20:53 -05:00
revīziju iesūtīja GitHub
vecāks f47fd89f62
revīzija 0d9b056ee5
2 mainīti faili ar 3 papildinājumiem un 3 dzēšanām
+2 -2
Parādīt failu
@@ -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" },
};