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, 22 Oct 2018 23:44:40 +0000 (01:44 +0200)
commit7f142e5402315b2707e2316d486fa5ea090d7bb0
treeca6383d98786d5a2bf46df6b31d8942780824d5d
parentb4024909c12118e0a128ada65b53c012296a2626
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