On 05/07/15 20:42, Andreas Cadhalpun wrote:
> Like that:
>         if (s->packet_loss) {
>             /* Reset number of saved bits so that the decoder does not start
>              * to decode incomplete frames in the s->len_prefix == 0 case. */
>             s->num_saved_bits = 0;
>             s->packet_loss    = 0;
>             init_put_bits(&s->pb, s->frame_data, MAX_FRAMESIZE);
>         }

So there is a combination that would not return invaliddata and yet
return an invalid frame?

lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to