Commit 0df7d95a authored by Paul B Mahol's avatar Paul B Mahol

pcmenc: remove dead increment

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 6557c46d
......@@ -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--) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment