Commit d276f28b authored by Michael Niedermayer's avatar Michael Niedermayer

swfdec: print warning when len is cliped

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 31f9cf38
......@@ -456,6 +456,8 @@ bitmap_end_skip:
av_log(s, AV_LOG_DEBUG, "Unknown tag: %d\n", tag);
}
skip:
if(len<0)
av_log(s, AV_LOG_WARNING, "Cliping len %d\n", len);
len = FFMAX(0, len);
avio_skip(pb, len);
}
......
Markdown is supported
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