Hi, On Fri, Apr 6, 2012 at 11:00 AM, Martin Storsjö <[email protected]> wrote: > From: Reimar Döffinger <[email protected]> > > Signed-off-by: Reimar Döffinger <[email protected]> > --- > libavcodec/nellymoserenc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/nellymoserenc.c b/libavcodec/nellymoserenc.c > index 39449ca..2a12853 100644 > --- a/libavcodec/nellymoserenc.c > +++ b/libavcodec/nellymoserenc.c > @@ -389,7 +389,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket > *avpkt, > memcpy(s->buf + NELLY_BUF_LEN, frame->data[0], > frame->nb_samples * sizeof(*s->buf)); > if (frame->nb_samples < NELLY_SAMPLES) { > - memset(s->buf + NELLY_BUF_LEN + avctx->frame_size, 0, > + memset(s->buf + NELLY_BUF_LEN + frame->nb_samples, 0,
OK. Ronald _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
