Commit 922596e3 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge remote-tracking branch 'qatar/master'

* qatar/master:
  ismindex: Change the duration field to int64_t
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 47a57c68 a4435f92
...@@ -51,7 +51,7 @@ static int usage(const char *argv0, int ret) ...@@ -51,7 +51,7 @@ static int usage(const char *argv0, int ret)
struct MoofOffset { struct MoofOffset {
int64_t time; int64_t time;
int64_t offset; int64_t offset;
int duration; int64_t duration;
}; };
struct Track { struct Track {
...@@ -431,7 +431,7 @@ static void print_track_chunks(FILE *out, struct Tracks *tracks, int main, ...@@ -431,7 +431,7 @@ static void print_track_chunks(FILE *out, struct Tracks *tracks, int main,
fprintf(stderr, "Mismatched duration of %s chunk %d in %s and %s\n", fprintf(stderr, "Mismatched duration of %s chunk %d in %s and %s\n",
type, i, track->name, tracks->tracks[j]->name); type, i, track->name, tracks->tracks[j]->name);
} }
fprintf(out, "\t\t<c n=\"%d\" d=\"%d\" />\n", fprintf(out, "\t\t<c n=\"%d\" d=\"%"PRId64"\" />\n",
i, track->offsets[i].duration); i, track->offsets[i].duration);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment