On Fri, Nov 28, 2014 at 1:22 PM, Anton Khirnov <[email protected]> wrote:
> Prevents DPB from filling up with damaged input. > --- > libavcodec/hevc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c > index 08bed86..118e3a1 100644 > --- a/libavcodec/hevc.c > +++ b/libavcodec/hevc.c > @@ -2460,7 +2460,7 @@ static int hevc_frame_start(HEVCContext *s) > > fail: > if (s->ref) > - ff_thread_report_progress(&s->ref->tf, INT_MAX, 0); > + ff_hevc_unref_frame(s, s->ref, ~0); > s->ref = NULL; > return ret; > } > -- > Does that still report progress, potentially unlocking any potential waiters? - Hendrik _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
