summaryrefslogtreecommitdiff
path: root/libavcodec/libgsm.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/libgsm.c')
-rw-r--r--libavcodec/libgsm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/libgsm.c b/libavcodec/libgsm.c
index 6362f51ecb..790eacd6dd 100644
--- 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: