1
mirror of https://github.com/mpv-player/mpv synced 2025-01-20 21:07:29 +01:00

M$ puts whole FAQs in these headers, so they can get really big...

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15796 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2005-06-21 19:56:47 +00:00
parent 47f8854d58
commit d7c31709b3

View File

@ -164,9 +164,9 @@ int read_asf_header(demuxer_t *demuxer){
int best_audio = -1;
uint64_t data_len;
if (hdr_len > 64 * 1024) {
if (hdr_len > 1024 * 1024) {
mp_msg(MSGT_HEADER, MSGL_FATAL,
"FATAL: header size bigger than 64 kB (%d)!\n"
"FATAL: header size bigger than 1 MB (%d)!\n"
"Please contact MPlayer authors, and upload/send this file.\n",
hdr_len);
return 0;