mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-28 02:12:28 +00:00
Revert "indeo5: reject negative motion vectors"
Negative motion vectors are possible.
This reverts commit 1194a41080
.
This commit is contained in:
parent
b36e1893ef
commit
8bd9039900
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user