You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
scpr: Added missing error check
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
@@ -582,6 +582,8 @@ static int decompress_p(AVCodecContext *avctx,
|
|||||||
|
|
||||||
for (; by < y * 16 + sy2 && by < avctx->height;) {
|
for (; by < y * 16 + sy2 && by < avctx->height;) {
|
||||||
ret = decode_value(s, s->op_model[ptype], 6, 1000, &ptype);
|
ret = decode_value(s, s->op_model[ptype], 6, 1000, &ptype);
|
||||||
|
if (ret < 0)
|
||||||
|
return ret;
|
||||||
if (ptype == 0) {
|
if (ptype == 0) {
|
||||||
ret = decode_unit(s, &s->pixel_model[0][cx + cx1], 400, &r);
|
ret = decode_unit(s, &s->pixel_model[0][cx + cx1], 400, &r);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
Reference in New Issue
Block a user