mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
pictordec: pass correct context to avpriv_request_sample
Fixes invalid reads. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
This commit is contained in:
parent
5f7aecde02
commit
fe9bb61f9a
@ -233,7 +233,7 @@ static int decode_frame(AVCodecContext *avctx,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
avpriv_request_sample(s, "Uncompressed image");
|
avpriv_request_sample(avctx, "Uncompressed image");
|
||||||
return avpkt->size;
|
return avpkt->size;
|
||||||
}
|
}
|
||||||
finish:
|
finish:
|
||||||
|
Loading…
Reference in New Issue
Block a user