diff options
Diffstat (limited to 'libavcodec/indeo3.c')
-rw-r--r-- | libavcodec/indeo3.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/indeo3.c b/libavcodec/indeo3.c index c22d257fb9..80003a6c3e 100644 --- a/libavcodec/indeo3.c +++ b/libavcodec/indeo3.c @@ -759,6 +759,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 AVERROR_INVALIDDATA; copy_cell(ctx, plane, &curr_cell); return 0; } |