diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c index 1adaf7031849a6a35e83add95a5f08a257f3f17c..594bd444fee32a324a072d5863c6d821f5d10a5f 100644 --- a/libavcodec/pcm.c +++ b/libavcodec/pcm.c @@ -193,7 +193,6 @@ static int pcm_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, return -1; } - avpkt->size = frame->nb_samples * avctx->channels * sample_size; *got_packet_ptr = 1; return 0; }