summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-01 02:26:19 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-01 02:26:19 +0000
commit6ddaa63cf4556d4f8e232bbcb15353c86ee0b4c1 (patch)
tree7e60d9e5cbad344a37164d8b07b993fc5ad62208 /libavcodec
parenta9f87158549b6d8dc6d32c1c10e0d115a90c1819 (diff)
The buffer passed into the decoder should be const.
Originally committed as revision 11704 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/avcodec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 77f42efaf0..a1365e7a4a 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2200,7 +2200,7 @@ typedef struct AVCodec {
int (*encode)(AVCodecContext *, uint8_t *buf, int buf_size, void *data);
int (*close)(AVCodecContext *);
int (*decode)(AVCodecContext *, void *outdata, int *outdata_size,
- uint8_t *buf, int buf_size);
+ const uint8_t *buf, int buf_size);
int capabilities;
struct AVCodec *next;
void (*flush)(AVCodecContext *);