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, 9 Jul 2018 23:52:56 +0000 (01:52 +0200)
commit17ed3c809da5852c3d5c41df14f0d44a8d7c10a9
tree8e39efe33780e09023d487f0eb5f750bc3845e2b
parent674929cd46c76285f4d739c0436a75a5402dee61
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