h2645_parse: don't overread AnnexB NALs within an avc stream
authorHendrik Leppkes <h.leppkes@gmail.com>
Thu, 7 Jul 2016 18:19:51 +0000 (20:19 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 25 Aug 2016 01:29:36 +0000 (03:29 +0200)
commit0ad4d4198a40f3907b77390d525bf6fd7868538f
tree7f6cba8c0544a8c2a2e99d2035dacfc44d15802e
parent93422bc92e942e71b2435e7dac7dbbad3a32ddcc
h2645_parse: don't overread AnnexB NALs within an avc stream

We know the maximum size of an AnnexB NAL, signaling it as the maximum
NAL size allows ff_h2645_extract_rbsp to determine the correct size.

(cherry picked from commit 83a940e7fb9640954d631870e2ec6e8b3fc528ed)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/h2645_parse.c