On Wed, 1 Feb 2012 16:34:05 -0500, Justin Ruggles <[email protected]> wrote: > It is already the correct size as set by ff_alloc_packet(). > --- > libavcodec/pcm.c | 1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > > diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c > index 1adaf70..594bd44 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; > } > -- > 1.7.1 >
Ok. -- Anton Khirnov _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
