[FFmpeg-cvslog] Revert "indeo5: reject negative motion vectors"
Luca Barbato
git at videolan.org
Tue Jul 2 11:41:00 CEST 2013
ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Mon Jul 1 06:49:46 2013 +0200| [8bd9039900e67a633cc838d691c449e71c060553] | committer: Luca Barbato
Revert "indeo5: reject negative motion vectors"
Negative motion vectors are possible.
This reverts commit 1194a410807bac3eafbeb632578b937656d273e7.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8bd9039900e67a633cc838d691c449e71c060553
---
libavcodec/indeo5.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/libavcodec/indeo5.c b/libavcodec/indeo5.c
index 7a60f49..dc5f6f0 100644
--- a/libavcodec/indeo5.c
+++ b/libavcodec/indeo5.c
@@ -520,12 +520,6 @@ static int decode_mb_info(IVI45DecContext *ctx, IVIBandDesc *band,
mv_x += IVI_TOSIGNED(mv_delta);
mb->mv_x = mv_x;
mb->mv_y = mv_y;
- if (mv_x < 0 || mv_y < 0) {
- av_log(avctx, AV_LOG_ERROR, "Invalid MV %d %d\n",
- mv_x, mv_y);
- mb->mv_x = mb->mv_y = 0;
- return AVERROR_INVALIDDATA;
- }
}
}
}
More information about the ffmpeg-cvslog
mailing list