On 2013-02-16 21:37:47 +0100, Anton Khirnov wrote: > CC:[email protected] > --- > libavcodec/h264.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/libavcodec/h264.c b/libavcodec/h264.c > index 47029a3..e187c59 100644 > --- a/libavcodec/h264.c > +++ b/libavcodec/h264.c > @@ -3487,8 +3487,11 @@ static int decode_slice_header(H264Context *h, > H264Context *h0) > h->list_count = 2; > else > h->list_count = 1; > - } else > + } else { > h->list_count = 0; > + h->ref_count[0] = h->ref_count[1] = 0; > + } > +
added empty line, not that I care much. patch ok Janne _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
