On 2012-12-17 18:35:09 -0800, Ronald S. Bultje wrote:
> Hi,
> 
> On Dec 12, 2012 12:31 PM, "Janne Grunau" <janne-li...@jannau.net> wrote:
> >
> > ---
> >  libavcodec/h264.c | 15 +++++++--------
> >  1 file changed, 7 insertions(+), 8 deletions(-)
> >
> > diff --git a/libavcodec/h264.c b/libavcodec/h264.c
> > index 8847f1f..35cc800 100644
> > --- a/libavcodec/h264.c
> > +++ b/libavcodec/h264.c
> > @@ -4070,17 +4070,16 @@ again:
> >                         hx->nal_unit_type, bit_length);
> >              }
> >
> > -            if (context_count == h->max_contexts) {
> > -                execute_decode_slices(h, context_count);
> > +            if (!err && context_count == h->max_contexts) {
> > +                err = execute_decode_slices(h, context_count);
> >                  context_count = 0;
> >              }
> 
> Does this completely break ER?

I think not completely but the patch is dropped. Clearing the ref lists
on unreference fixed most of the hangs and crashes this was supposed to
prevent.

Janne
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to