Skip to content

armgit / Filee

Public Imported from GitHub
0

Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.

HevcStream: skipped NAL units as an explicit default case

KnifeLemon028f888824b1
diff --git a/src/Filee.Engines/Heic/HevcStream.cs b/src/Filee.Engines/Heic/HevcStream.cs
index daf34bc4..78ca5901 100644
--- a/src/Filee.Engines/Heic/HevcStream.cs
+++ b/src/Filee.Engines/Heic/HevcStream.cs
@@ -39,7 +39,9 @@ internal sealed record HevcStream(byte[] Configuration, IReadOnlyList<byte[]> Pi
pictures.Add([]);
pictures[^1].Add(unit);
break;
- // SEI, access unit delimiters, end of stream: HEIF has no use for them.
+ default:
+ // SEI, access unit delimiters, end of stream: HEIF has no use for them.
+ break;
}
}
if (vps is null || sps is null || pps is null || pictures.Count == 0)