diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-08-24 21:30:46 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-09-02 19:27:56 +0200 |
commit | fe9bb61f9a16be19ad91875632c39e44b7a99a8a (patch) | |
tree | d4962ce956ab4c83778174444e5b1f4574ee1d18 /libavcodec/pictordec.c | |
parent | 5f7aecde02a95451e514c809f2794c1deba80695 (diff) | |
download | ffmpeg-fe9bb61f9a16be19ad91875632c39e44b7a99a8a.tar.gz |
pictordec: pass correct context to avpriv_request_sample
Fixes invalid reads.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Diffstat (limited to 'libavcodec/pictordec.c')
-rw-r--r-- | libavcodec/pictordec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pictordec.c b/libavcodec/pictordec.c index 20ddb20b15..020424ddae 100644 --- a/libavcodec/pictordec.c +++ b/libavcodec/pictordec.c @@ -233,7 +233,7 @@ static int decode_frame(AVCodecContext *avctx, } } } else { - avpriv_request_sample(s, "Uncompressed image"); + avpriv_request_sample(avctx, "Uncompressed image"); return avpkt->size; } finish: |