On Sat, Apr 28, 2012 at 11:24:19AM -0700, Mashiat Sarker Shakkhar wrote: > From: Jakub Stachowski <[email protected]> > > Reviewed-by: Mashiat Sarker Shakkhar <[email protected]> > Signed-off-by: Michael Niedermayer <[email protected]> > --- > libavcodec/wmalosslessdec.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c > index bc1a19c..59bebad 100644 > --- a/libavcodec/wmalosslessdec.c > +++ b/libavcodec/wmalosslessdec.c > @@ -1166,6 +1166,8 @@ static int decode_packet(AVCodecContext *avctx, void > *data, int *got_frame_ptr, > int buf_size = avpkt->size; > int num_bits_prev_frame, packet_sequence_number, spliced_packet; > > + s->frame.nb_samples = 0; > + > if (s->packet_done || s->packet_loss) { > s->packet_done = 0; > > --
looks OK _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
