Fixes crash of FreeBSD. Signed-off-by: Paul B Mahol <one...@gmail.com> --- libavfilter/vf_reverse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_reverse.c b/libavfilter/vf_reverse.c index a555427..63412fe 100644 --- a/libavfilter/vf_reverse.c +++ b/libavfilter/vf_reverse.c @@ -73,7 +73,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) AVFilterContext *ctx = inlink->dst; ReverseContext *s = ctx->priv; - if (s->nb_frames + 1 > s->frames_size / sizeof(*(s->frames))) { + if (s->nb_frames + 1 > s->pts_size / sizeof(*(s->pts))) { void *ptr; ptr = av_fast_realloc(s->pts, &s->pts_size, s->pts_size * 2); -- 1.7.11.2 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel