On Mon, Nov 28, 2011 at 01:09:00AM +0530, Aneesh Dogra wrote: > Check Attachments > > -- > Thanks > Aneesh Dogra (lionaneesh)
> From a02f6e7471a74f2f195a4a553a8a065b71cd91af Mon Sep 17 00:00:00 2001 > From: Aneesh Dogra <[email protected]> > Date: Mon, 28 Nov 2011 00:08:24 +0530 > Subject: [PATCH] Fixes : bugzilla.libav.org/show_bug.cgi?id=93 > > --- > libavcodec/indeo3.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/libavcodec/indeo3.c b/libavcodec/indeo3.c > index 2c7e96b..ac50509 100644 > --- a/libavcodec/indeo3.c > +++ b/libavcodec/indeo3.c > @@ -756,6 +756,8 @@ static int parse_bintree(Indeo3DecodeContext *ctx, > AVCodecContext *avctx, > av_log(avctx, AV_LOG_ERROR, "SkipCell procedure not > implemented yet!\n"); > > CHECK_CELL > + if(!curr_cell.mv_ptr) > + return -1; > copy_cell(ctx, plane, &curr_cell); > return 0; > } > -- Ideal one would be if (!curr_cell.mv_ptr) return AVERROR_INVALIDDATA; _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
