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:02:12 +0000 (19:02 +0200)
commit10e5302db413dc1ae5fd5e49597bd2356b02b1d1
tree8c5fbd79d7467b6dd2dd1ee70f0d5e87ce22abed
parent84280dc7cfa4d512061d6a5c6574a289b59eaf00
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