diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-12-12 10:01:43 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-12 10:14:06 +0100 |
commit | d276f28b7d0d7980c709edb9807c50f186aa9300 (patch) | |
tree | fbc8ea8f640ecd11a1f2e057ad89f33a117f7d36 /libavformat | |
parent | 31f9cf38f074bf4f305abea9f43614c9a0a0d72e (diff) | |
download | ffmpeg-d276f28b7d0d7980c709edb9807c50f186aa9300.tar.gz |
swfdec: print warning when len is cliped
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/swfdec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/swfdec.c b/libavformat/swfdec.c index 6ad92a0dbd..cf7e194284 100644 --- a/libavformat/swfdec.c +++ b/libavformat/swfdec.c @@ -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); } |