Commit 0048e7b2 authored by a1ex's avatar a1ex
Browse files

mlv_play: allow full-res frame sizes

--HG--
branch : fullres-silent-pics
parent 79f8b33c8186
...@@ -1080,7 +1080,7 @@ static void mlv_play_build_index(char *filename, FILE **chunk_files, uint32_t ch ...@@ -1080,7 +1080,7 @@ static void mlv_play_build_index(char *filename, FILE **chunk_files, uint32_t ch
} }
/* unexpected block header size? */ /* unexpected block header size? */
if(buf.blockSize < sizeof(mlv_hdr_t) || buf.blockSize > 10 * 1024 * 1024) if(buf.blockSize < sizeof(mlv_hdr_t) || buf.blockSize > 50 * 1024 * 1024)
{ {
bmp_printf(FONT_MED, 30, 190, "Invalid header size: %d bytes at 0x%08X", buf.blockSize, position); bmp_printf(FONT_MED, 30, 190, "Invalid header size: %d bytes at 0x%08X", buf.blockSize, position);
beep(); beep();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment