mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 00:02:52 +00:00
Merge commit '7a5a55722749a3ab77941914707277b147322cbe'
* commit '7a5a55722749a3ab77941914707277b147322cbe':
qpeg: Add checks for running out of rows in qpeg_decode_inter
Conflicts:
libavcodec/qpeg.c
See: 4299dfa5de
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
61a8eaf711
@ -193,7 +193,7 @@ static void qpeg_decode_inter(QpegContext *qctx, uint8_t *dst,
|
|||||||
filled = 0;
|
filled = 0;
|
||||||
dst -= stride;
|
dst -= stride;
|
||||||
height--;
|
height--;
|
||||||
if(height < 0)
|
if (height < 0)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -209,7 +209,7 @@ static void qpeg_decode_inter(QpegContext *qctx, uint8_t *dst,
|
|||||||
filled = 0;
|
filled = 0;
|
||||||
dst -= stride;
|
dst -= stride;
|
||||||
height--;
|
height--;
|
||||||
if(height < 0)
|
if (height < 0)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user