mirror of
https://github.com/TheFunny/TelegramTwitterMediaBot.git
synced 2026-11-09 07:02:05 +00:00
Sniff the frame extension from magic bytes instead of the entry filename, cap each frame at 64 MiB (declared size + streamed read), and map a panicked encode worker to the existing degrade path instead of expect()-panicking the whole fetch handler.