On 14/12/14 21:39, Anton Khirnov wrote:
CC: [email protected] Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind --- libavformat/mov.c | 1 + 1 file changed, 1 insertion(+)diff --git a/libavformat/mov.c b/libavformat/mov.c index a64ff4f..d9678c5 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1819,6 +1819,7 @@ static int mov_read_stss(MOVContext *c, AVIOContext *pb, MOVAtom atom) } if (entries >= UINT_MAX / sizeof(int)) return AVERROR_INVALIDDATA; + av_freep(&sc->keyframes); sc->keyframes = av_malloc(entries * sizeof(int)); if (!sc->keyframes) return AVERROR(ENOMEM);
The set looks fine to me. lu _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
