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>
Tue, 22 May 2018 19:05:45 +0000 (21:05 +0200)
commitfe84f70819d6f5aab3c4823290e0d32b99d6de78
tree68bd4e6fcf48cc0778ca63b37891e14ce5cb4462
parent919e37377a76f63d030d680fcb9506a3f8cc2d62
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>
libavformat/mov.c