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>
Thu, 1 Dec 2016 22:50:40 +0000 (23:50 +0100)
commit46edc6d5ef24018c06233cfddd779ca849c667ea
treed011236e4e761ab29f1c5a498d1c70b825dd474d
parent046cc06f5a23e93e49f72ee1bc6efedbd5ca3b95
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