projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f7aecd
)
pictordec: pass correct context to avpriv_request_sample
author
Anton Khirnov
<anton@khirnov.net>
Sat, 24 Aug 2013 19:30:46 +0000
(21:30 +0200)
committer
Anton Khirnov
<anton@khirnov.net>
Mon, 2 Sep 2013 17:27:56 +0000
(19:27 +0200)
Fixes invalid reads.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
libavcodec/pictordec.c
patch
|
blob
|
history
diff --git
a/libavcodec/pictordec.c
b/libavcodec/pictordec.c
index
20ddb20
..
020424d
100644
(file)
--- 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: