mirror of https://git.ffmpeg.org/ffmpeg.git
indeo: check for reference when inheriting mvs
The same is done already for qdelta. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
This commit is contained in:
parent
1194a41080
commit
b36e1893ef
|
@ -603,7 +603,7 @@ static int ivi_process_empty_tile(AVCodecContext *avctx, IVIBandDesc *band,
|
|||
if (band->inherit_qdelta && ref_mb)
|
||||
mb->q_delta = ref_mb->q_delta;
|
||||
|
||||
if (band->inherit_mv) {
|
||||
if (band->inherit_mv && ref_mb) {
|
||||
/* motion vector inheritance */
|
||||
if (mv_scale) {
|
||||
mb->mv_x = ivi_scale_mv(ref_mb->mv_x, mv_scale);
|
||||
|
|
Loading…
Reference in New Issue