diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2008-02-02 14:34:43 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2008-02-02 14:34:43 +0000 |
commit | eee7e7998bc78f05eb5c0814c99cb1526422e7ea (patch) | |
tree | 5f6aee63339aa0bc4730b329468e3ab1f30ab37c /libavcodec | |
parent | ffbc5e04cee17ffb449cf7ccb2fa93b1160c3c17 (diff) | |
download | ffmpeg-eee7e7998bc78f05eb5c0814c99cb1526422e7ea.tar.gz |
Some consts for cscd decoder helper functions
Originally committed as revision 11809 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/cscd.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/cscd.c b/libavcodec/cscd.c index 4d99d960a7..26e662d548 100644 --- a/libavcodec/cscd.c +++ b/libavcodec/cscd.c @@ -35,7 +35,7 @@ typedef struct { unsigned char* decomp_buf; } 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 i; uint8_t *dst = f->data[0]; @@ -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 i, j; uint8_t *dst = f->data[0]; @@ -65,7 +65,7 @@ static void add_frame_default(AVFrame *f, uint8_t *src, #define add_frame_16 add_frame_default #define add_frame_32 add_frame_default #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 i, j; uint8_t *dst = f->data[0]; @@ -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 i, j; uint8_t *dst = f->data[0]; @@ -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 i, j; uint8_t *dst = f->data[0]; @@ -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 i, j; uint8_t *dst = f->data[0]; |