[FFmpeg-cvslog] pcmenc: remove dead increment
Paul B Mahol
git at videolan.org
Sun Nov 18 22:15:01 CET 2012
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Nov 18 21:12:25 2012 +0000| [0df7d95a5e531874cab5745517934069f6a6f4dd] | committer: Paul B Mahol
pcmenc: remove dead increment
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0df7d95a5e531874cab5745517934069f6a6f4dd
---
libavcodec/pcm.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c
index 334e443..d91113d 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--) {
More information about the ffmpeg-cvslog
mailing list