avformat/mov: replace a value error by clipping into valid range in mov_read_stsc()
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 21 May 2018 01:16:58 +0000 (03:16 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 16 Jul 2018 17:06:27 +0000 (19:06 +0200)
commit9ecb1998b034cf53bf3812eb1d3427cb82e41a21
tree2ce7dba5a32f54405adff378fc4a2ebdc5a1f312
parentaa50d67cc7d07278ce39d395871bc6a0dc7cfe32
avformat/mov: replace a value error by clipping into valid range in mov_read_stsc()

Fixes: #7165

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit fe84f70819d6f5aab3c4823290e0d32b99d6de78)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mov.c