[FFmpeg-cvslog] r11704 - trunk/libavcodec/avcodec.h
michael
subversion
Fri Feb 1 03:26:19 CET 2008
Author: michael
Date: Fri Feb 1 03:26:19 2008
New Revision: 11704
Log:
The buffer passed into the decoder should be const.
Modified:
trunk/libavcodec/avcodec.h
Modified: trunk/libavcodec/avcodec.h
==============================================================================
--- trunk/libavcodec/avcodec.h (original)
+++ trunk/libavcodec/avcodec.h Fri Feb 1 03:26:19 2008
@@ -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 *);
More information about the ffmpeg-cvslog
mailing list