Browse Source

libgsmdec: do not needlessly set *data_size to 0

Justin Ruggles 13 years ago
parent
commit
9671db8245
1 changed files with 0 additions and 1 deletions
  1. 0 1
      libavcodec/libgsm.c

+ 0 - 1
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: