On Sat, Apr 28, 2012 at 11:24:18AM -0700, Mashiat Sarker Shakkhar wrote: > > --- a/libavcodec/wmalosslessdec.c > +++ b/libavcodec/wmalosslessdec.c > @@ -1209,8 +1209,11 @@ static int decode_packet(AVCodecContext *avctx, void > *data, int *got_frame_ptr, > > /* decode the cross packet frame if it is valid */ > - if (!s->packet_loss) > - decode_frame(s); > + if (num_bits_prev_frame < remaining_packet_bits) > + if (!s->packet_loss) > + decode_frame(s);
Maybe connect the two conditions with &&, they're not really separate. Diego _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
