Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Unified Diff: libavformat/mov.c

Issue 9370003: Remove pthreads patch, roll in new patches, disable unchecked bit readers. (Closed) Base URL: ssh://gerrit.chromium.org:29418/chromium/third_party/ffmpeg.git@master
Patch Set: gyp fix. Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« configure ('K') | « libavformat/matroskadec.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« configure ('K') | « libavformat/matroskadec.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698