On Fri, 4 Jul 2014 11:21:54 -0400, Vittorio Giovara <[email protected]> wrote: > From: Mickaƫl Raulet <[email protected]> > > Signed-off-by: Vittorio Giovara <[email protected]> > --- > libavcodec/hevc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c > index 9ba136d..76df80a 100644 > --- a/libavcodec/hevc.c > +++ b/libavcodec/hevc.c > @@ -469,7 +469,7 @@ static int hls_slice_header(HEVCContext *s) > if (IS_IDR(s)) > ff_hevc_clear_refs(s); > } > - if (s->nal_unit_type >= 16 && s->nal_unit_type <= 23) > + if (IS_IRAP(s)) > sh->no_output_of_prior_pics_flag = get_bits1(gb); > > sh->pps_id = get_ue_golomb_long(gb); > -- > 1.8.5.2 (Apple Git-48) >
LGTM -- Anton Khirnov _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
