avcodec/flac_parser: Update nb_headers_buffered
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 24 Nov 2016 14:29:52 +0000 (15:29 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 5 Dec 2016 17:29:12 +0000 (18:29 +0100)
commit0d8a17410b2f6ee9524e36a50da5309443cf8394
treeb7d326feb1fa4d85579b3c4baf43481be75634c2
parent60ca730d215a99f0e275b3b3f8e09f4d820c16b8
avcodec/flac_parser: Update nb_headers_buffered

Fixes infinite loop
Fixes: fuzz.flac

Found-by: Frank Liberato <liberato@google.com>
Reviewed-by: Frank Liberato <liberato@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 2475858889cde6221677473b663df6f985add33d)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/flac_parser.c