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:
a2e2557
)
libgsmdec: do not needlessly set *data_size to 0
author
Justin Ruggles
<justin.ruggles@gmail.com>
Fri, 28 Oct 2011 14:10:12 +0000
(10:10 -0400)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Wed, 2 Nov 2011 18:41:16 +0000
(14:41 -0400)
libavcodec/libgsm.c
patch
|
blob
|
history
diff --git
a/libavcodec/libgsm.c
b/libavcodec/libgsm.c
index
6362f51
..
790eacd
100644
(file)
--- a/
libavcodec/libgsm.c
+++ b/
libavcodec/libgsm.c
@@
-175,7
+175,6
@@
static int libgsm_decode_frame(AVCodecContext *avctx,
return AVERROR(EINVAL);
}
- *data_size = 0; /* In case of error */
if(buf_size < avctx->block_align) return -1;
switch(avctx->codec_id) {
case CODEC_ID_GSM: