summaryrefslogtreecommitdiff
path: root/libavcodec/ptx.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-01 14:03:47 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-01 14:03:47 +0000
commit3cd7c7fb1b210348b67337671b0661b80fcd1f42 (patch)
tree2d1f2b0e2502b7cccfa16284f85046591abfadce /libavcodec/ptx.c
parent1dc5527934596c2499668405cf729e563b5925c4 (diff)
const
Originally committed as revision 11737 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ptx.c')
-rw-r--r--libavcodec/ptx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ptx.c b/libavcodec/ptx.c
index 814697f5ca..22bb461781 100644
--- 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;