pcmenc: remove dead increment
authorPaul B Mahol <onemda@gmail.com>
Sun, 18 Nov 2012 21:12:25 +0000 (21:12 +0000)
committerPaul B Mahol <onemda@gmail.com>
Sun, 18 Nov 2012 21:12:25 +0000 (21:12 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/pcm.c

index 334e443..d91113d 100644 (file)
@@ -174,7 +174,6 @@ static int pcm_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
 #endif /* HAVE_BIGENDIAN */
     case AV_CODEC_ID_PCM_U8:
         memcpy(dst, samples, n * sample_size);
-        dst += n * sample_size;
         break;
     case AV_CODEC_ID_PCM_ALAW:
         for (; n > 0; n--) {