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:
1dc5527
)
const
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 1 Feb 2008 14:03:47 +0000
(14:03 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 1 Feb 2008 14:03:47 +0000
(14:03 +0000)
Originally committed as revision 11737 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ptx.c
patch
|
blob
|
history
diff --git
a/libavcodec/ptx.c
b/libavcodec/ptx.c
index
814697f
..
22bb461
100644
(file)
--- a/
libavcodec/ptx.c
+++ b/
libavcodec/ptx.c
@@
-35,7
+35,7
@@
static int ptx_init(AVCodecContext *avctx) {
}
static int ptx_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
- uint8_t *buf, int buf_size) {
+
const
uint8_t *buf, int buf_size) {
PTXContext * const s = avctx->priv_data;
AVFrame *picture = data;
AVFrame * const p = &s->picture;