OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f84a02c
)
const
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 1 Feb 2008 03:47:32 +0000
(
03:47
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 1 Feb 2008 03:47:32 +0000
(
03:47
+0000)
Originally committed as revision 11714 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/bethsoftvideo.c
patch
|
blob
|
history
diff --git
a/libavcodec/bethsoftvideo.c
b/libavcodec/bethsoftvideo.c
index
48a4c02
..
9d1f612
100644
(file)
--- a/
libavcodec/bethsoftvideo.c
+++ b/
libavcodec/bethsoftvideo.c
@@
-46,7
+46,7
@@
static int bethsoftvid_decode_init(AVCodecContext *avctx)
return 0;
}
-static void set_palette(AVFrame * frame, uint8_t * palette_buffer)
+static void set_palette(AVFrame * frame,
const
uint8_t * palette_buffer)
{
uint32_t * palette = (uint32_t *)frame->data[1];
int a;
@@
-58,7
+58,7
@@
static void set_palette(AVFrame * frame, uint8_t * palette_buffer)
static int bethsoftvid_decode_frame(AVCodecContext *avctx,
void *data, int *data_size,
- uint8_t *buf, int buf_size)
+
const
uint8_t *buf, int buf_size)
{
BethsoftvidContext * vid = avctx->priv_data;
char block_type;