mirror of https://git.ffmpeg.org/ffmpeg.git
pcmenc: remove dead increment
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
6557c46d91
commit
0df7d95a5e
|
@ -174,7 +174,6 @@ static int pcm_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
|
||||||
#endif /* HAVE_BIGENDIAN */
|
#endif /* HAVE_BIGENDIAN */
|
||||||
case AV_CODEC_ID_PCM_U8:
|
case AV_CODEC_ID_PCM_U8:
|
||||||
memcpy(dst, samples, n * sample_size);
|
memcpy(dst, samples, n * sample_size);
|
||||||
dst += n * sample_size;
|
|
||||||
break;
|
break;
|
||||||
case AV_CODEC_ID_PCM_ALAW:
|
case AV_CODEC_ID_PCM_ALAW:
|
||||||
for (; n > 0; n--) {
|
for (; n > 0; n--) {
|
||||||
|
|
Loading…
Reference in New Issue