swfdec: print warning when len is cliped

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-12-12 10:01:43 +01:00
parent 31f9cf38f0
commit d276f28b7d

View File

@ -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);
}