Index: source/patched-ffmpeg/libavformat/mov.c |
=================================================================== |
--- source/patched-ffmpeg/libavformat/mov.c (revision 120156) |
+++ source/patched-ffmpeg/libavformat/mov.c (working copy) |
@@ -1558,7 +1558,7 @@ |
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; |