[SCM] libav/experimental: spit an error message in case of invalid chunk
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:56:32 UTC 2013
The following commit has been merged in the experimental branch:
commit 89cf4098aafc000ff758f278b9dc17b6373101d2
Author: Alex Beregszaszi <alex at rtfs.hu>
Date: Sun Feb 18 00:47:13 2007 +0000
spit an error message in case of invalid chunk
Originally committed as revision 8014 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavformat/flic.c b/libavformat/flic.c
index e6aa26b..0c3a7f0 100644
--- a/libavformat/flic.c
+++ b/libavformat/flic.c
@@ -146,8 +146,10 @@ static int flic_read_header(AVFormatContext *s,
* therefore, the frame pts increment = n * 90
*/
flic->frame_pts_inc = speed * 90;
- } else
+ } else {
+ av_log(s, AV_LOG_INFO, "Invalid or unsupported magic chunk in file\n");
return AVERROR_INVALIDDATA;
+ }
if (flic->frame_pts_inc == 0)
flic->frame_pts_inc = FLIC_DEFAULT_PTS_INC;
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list