| Index: libavformat/mov.c
|
| diff --git a/libavformat/mov.c b/libavformat/mov.c
|
| index ddbe49083acc1bef55710915ee9bf0082bc46434..d921918c2d61f08b4b4bc836bb0d71a251118d68 100644
|
| --- a/libavformat/mov.c
|
| +++ b/libavformat/mov.c
|
| @@ -1811,7 +1811,7 @@ static void mov_build_index(MOVContext *mov, AVStream *st)
|
| unsigned int stts_sample = 0;
|
| unsigned int sample_size;
|
| unsigned int distance = 0;
|
| - int key_off = sc->keyframes && sc->keyframes[0] == 1;
|
| + int key_off = sc->keyframe_count && sc->keyframes[0] == 1;
|
|
|
| current_dts -= sc->dts_shift;
|
|
|
|
|