Commit 331834ef authored by michael's avatar michael

const


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11716 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4e880e20
...@@ -44,12 +44,13 @@ typedef enum { ...@@ -44,12 +44,13 @@ typedef enum {
static int static int
avs_decode_frame(AVCodecContext * avctx, avs_decode_frame(AVCodecContext * avctx,
void *data, int *data_size, uint8_t * buf, int buf_size) void *data, int *data_size, const uint8_t * buf, int buf_size)
{ {
avs_context_t *const avs = avctx->priv_data; avs_context_t *const avs = avctx->priv_data;
AVFrame *picture = data; AVFrame *picture = data;
AVFrame *const p = (AVFrame *) & avs->picture; AVFrame *const p = (AVFrame *) & avs->picture;
uint8_t *table, *vect, *out; const uint8_t *table, *vect;
uint8_t *out;
int i, j, x, y, stride, vect_w = 3, vect_h = 3; int i, j, x, y, stride, vect_w = 3, vect_h = 3;
int sub_type; int sub_type;
avs_block_type_t type; avs_block_type_t type;
......
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