diff --git a/libavformat/mov.c b/libavformat/mov.c
index e940427..6355814 100644
|
a
|
b
|
static void mov_build_index(MOVContext *mov, AVStream *st) |
| 1761 | 1761 | unsigned count, chunk_count; |
| 1762 | 1762 | |
| 1763 | 1763 | chunk_samples = sc->stsc_data[i].count; |
| 1764 | | if (sc->samples_per_frame && chunk_samples % sc->samples_per_frame) { |
| | 1764 | if (i != sc->stsc_count - 1 && |
| | 1765 | sc->samples_per_frame && chunk_samples % sc->samples_per_frame) { |
| 1765 | 1766 | av_log(mov->fc, AV_LOG_ERROR, "error unaligned chunk\n"); |
| 1766 | 1767 | return; |
| 1767 | 1768 | } |