projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ec0ccb
)
Fix declaration and code thingie
author
Guillaume Poirier
<gpoirier@mplayerhq.hu>
Mon, 20 Nov 2006 20:41:31 +0000
(20:41 +0000)
committer
Guillaume Poirier
<gpoirier@mplayerhq.hu>
Mon, 20 Nov 2006 20:41:31 +0000
(20:41 +0000)
Originally committed as revision 7140 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/amr.c
patch
|
blob
|
history
diff --git
a/libavcodec/amr.c
b/libavcodec/amr.c
index
12c918b
..
2d1877b
100644
(file)
--- a/
libavcodec/amr.c
+++ b/
libavcodec/amr.c
@@
-625,8
+625,9
@@
static int amr_wb_encode_close(AVCodecContext * avctx)
static int amr_wb_encode_frame(AVCodecContext *avctx,
unsigned char *frame/*out*/, int buf_size, void *data/*in*/)
{
- AMRWBContext *s
= (AMRWBContext*) avctx->priv_data
;
+ AMRWBContext *s;
int size;
+ s = (AMRWBContext*) avctx->priv_data;
s->mode=getWBBitrateMode(avctx->bit_rate);
size = E_IF_encode(s->state, s->mode, data, frame, s->allow_dtx);
return size;