Commit 0ec1325b authored by michael's avatar michael

const


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11719 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fd4c47be
...@@ -614,7 +614,7 @@ static void cavs_flush(AVCodecContext * avctx) { ...@@ -614,7 +614,7 @@ static void cavs_flush(AVCodecContext * avctx) {
} }
static int cavs_decode_frame(AVCodecContext * avctx,void *data, int *data_size, static int cavs_decode_frame(AVCodecContext * avctx,void *data, int *data_size,
uint8_t * buf, int buf_size) { const uint8_t * buf, int buf_size) {
AVSContext *h = avctx->priv_data; AVSContext *h = avctx->priv_data;
MpegEncContext *s = &h->s; MpegEncContext *s = &h->s;
int input_size; int input_size;
......
...@@ -37,7 +37,7 @@ typedef struct CLJRContext{ ...@@ -37,7 +37,7 @@ typedef struct CLJRContext{
static int decode_frame(AVCodecContext *avctx, static int decode_frame(AVCodecContext *avctx,
void *data, int *data_size, void *data, int *data_size,
uint8_t *buf, int buf_size) const uint8_t *buf, int buf_size)
{ {
CLJRContext * const a = avctx->priv_data; CLJRContext * const a = avctx->priv_data;
AVFrame *picture = data; AVFrame *picture = data;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment