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, 25 Jun 2018 00:13:53 +0000 (02:13 +0200)
commit0fce2872e43d511284293b77089145409864475a
treee600f9d482573334b342504506da4811c07802ee
parentd56eed37d195fe7b12ba3b00160032240cb06ea8
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