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:
074ac3c
)
make input buffer const, as it should be. fixes a warning.
author
Justin Ruggles
<justin.ruggles@gmail.com>
Mon, 10 Mar 2008 21:59:30 +0000
(21:59 +0000)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Mon, 10 Mar 2008 21:59:30 +0000
(21:59 +0000)
Originally committed as revision 12418 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ac3dec.c
patch
|
blob
|
history
diff --git
a/libavcodec/ac3dec.c
b/libavcodec/ac3dec.c
index
1c8bec8
..
72bd109
100644
(file)
--- a/
libavcodec/ac3dec.c
+++ b/
libavcodec/ac3dec.c
@@
-1125,7
+1125,8
@@
static int ac3_parse_audio_block(AC3DecodeContext *s, int blk)
/**
* Decode a single AC-3 frame.
*/
-static int ac3_decode_frame(AVCodecContext * avctx, void *data, int *data_size, uint8_t *buf, int buf_size)
+static int ac3_decode_frame(AVCodecContext * avctx, void *data, int *data_size,
+ const uint8_t *buf, int buf_size)
{
AC3DecodeContext *s = avctx->priv_data;
int16_t *out_samples = (int16_t *)data;