Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-11-19 01:12:25 +0400
committerPaul B Mahol <onemda@gmail.com>2012-11-19 01:12:25 +0400
commit0df7d95a5e531874cab5745517934069f6a6f4dd (patch)
treea633dc323d1937d8319f30c5f00ff64925313f6e /libavcodec/pcm.c
parent6557c46d91d417cbda7c21aac5e326f93f6e3b1b (diff)
pcmenc: remove dead increment
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/pcm.c')
-rw-r--r--libavcodec/pcm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c
index 334e443624..d91113d781 100644
--- a/libavcodec/pcm.c
+++ b/libavcodec/pcm.c
@@ -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--) {