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>
Sun, 17 Jun 2018 23:16:04 +0000 (01:16 +0200)
commitadea365be9e0723f797d25bbca7c32e9068e2d60
tree8bb5da2343c11a997dc7aad40f5acc775d52f06e
parentce7be9cdc5d53242e1b326f40289c2ceec63a2d1
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