Commit eee7e799 authored by Reimar Döffinger's avatar Reimar Döffinger

Some consts for cscd decoder helper functions

Originally committed as revision 11809 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ffbc5e04
...@@ -35,7 +35,7 @@ typedef struct { ...@@ -35,7 +35,7 @@ typedef struct {
unsigned char* decomp_buf; unsigned char* decomp_buf;
} CamStudioContext; } CamStudioContext;
static void copy_frame_default(AVFrame *f, uint8_t *src, static void copy_frame_default(AVFrame *f, const uint8_t *src,
int linelen, int height) { int linelen, int height) {
int i; int i;
uint8_t *dst = f->data[0]; uint8_t *dst = f->data[0];
...@@ -47,7 +47,7 @@ static void copy_frame_default(AVFrame *f, uint8_t *src, ...@@ -47,7 +47,7 @@ static void copy_frame_default(AVFrame *f, uint8_t *src,
} }
} }
static void add_frame_default(AVFrame *f, uint8_t *src, static void add_frame_default(AVFrame *f, const uint8_t *src,
int linelen, int height) { int linelen, int height) {
int i, j; int i, j;
uint8_t *dst = f->data[0]; uint8_t *dst = f->data[0];
...@@ -65,7 +65,7 @@ static void add_frame_default(AVFrame *f, uint8_t *src, ...@@ -65,7 +65,7 @@ static void add_frame_default(AVFrame *f, uint8_t *src,
#define add_frame_16 add_frame_default #define add_frame_16 add_frame_default
#define add_frame_32 add_frame_default #define add_frame_32 add_frame_default
#else #else
static void copy_frame_16(AVFrame *f, uint8_t *src, static void copy_frame_16(AVFrame *f, const uint8_t *src,
int linelen, int height) { int linelen, int height) {
int i, j; int i, j;
uint8_t *dst = f->data[0]; uint8_t *dst = f->data[0];
...@@ -81,7 +81,7 @@ static void copy_frame_16(AVFrame *f, uint8_t *src, ...@@ -81,7 +81,7 @@ static void copy_frame_16(AVFrame *f, uint8_t *src,
} }
} }
static void copy_frame_32(AVFrame *f, uint8_t *src, static void copy_frame_32(AVFrame *f, const uint8_t *src,
int linelen, int height) { int linelen, int height) {
int i, j; int i, j;
uint8_t *dst = f->data[0]; uint8_t *dst = f->data[0];
...@@ -99,7 +99,7 @@ static void copy_frame_32(AVFrame *f, uint8_t *src, ...@@ -99,7 +99,7 @@ static void copy_frame_32(AVFrame *f, uint8_t *src,
} }
} }
static void add_frame_16(AVFrame *f, uint8_t *src, static void add_frame_16(AVFrame *f, const uint8_t *src,
int linelen, int height) { int linelen, int height) {
int i, j; int i, j;
uint8_t *dst = f->data[0]; uint8_t *dst = f->data[0];
...@@ -115,7 +115,7 @@ static void add_frame_16(AVFrame *f, uint8_t *src, ...@@ -115,7 +115,7 @@ static void add_frame_16(AVFrame *f, uint8_t *src,
} }
} }
static void add_frame_32(AVFrame *f, uint8_t *src, static void add_frame_32(AVFrame *f, const uint8_t *src,
int linelen, int height) { int linelen, int height) {
int i, j; int i, j;
uint8_t *dst = f->data[0]; uint8_t *dst = f->data[0];
......
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