avcodec/h264_parser: Reduce needed history for parsing mb index
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 22 Jun 2018 19:45:59 +0000 (21:45 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 16 Jul 2018 17:16:13 +0000 (19:16 +0200)
commit76c4838a11a61fb0cfed5defff7e683f64068692
tree098d1ceb67f553a292fb68fced82eb36578e297c
parent4fb69a60f6c0bdb335c2e86a2f1d2a8bd147ead6
avcodec/h264_parser: Reduce needed history for parsing mb index

This fixes a bug/regression with very small packets
Fixes: output_file

Regression since: 0782fb6bcb32fe3ab956a99af4cc472ff81da0c2

Reported-by: Thierry Foucu <tfoucu@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit d25c945247979a88fac6bb3b7a26370262b96ef1)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/h264_parser.c