diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2014-01-09 13:04:25 +0400 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2017-08-04 20:12:12 +0300 |
commit | f9fc3fb7d432107ed654a0abe75cdd0b4c50678f (patch) | |
tree | 2a4147305573f28e18d428ee28e1f37384e60b90 | |
parent | a4886e88db652d0e6971823487ad24a30470d828 (diff) |
HACK mov: don't set the DEFAULT disposition because of wrong semantics
The meaning of the DEFAULT flag and movs enabled flag don't match and
cause playback issues.
-rw-r--r-- | libavformat/mov.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 0c99db305b..582afd1842 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -4013,7 +4013,7 @@ static int mov_read_tkhd(MOVContext *c, AVIOContext *pb, MOVAtom atom) version = avio_r8(pb); flags = avio_rb24(pb); - st->disposition |= (flags & MOV_TKHD_FLAG_ENABLED) ? AV_DISPOSITION_DEFAULT : 0; + /* st->disposition |= (flags & MOV_TKHD_FLAG_ENABLED) ? AV_DISPOSITION_DEFAULT : 0; */ if (version == 1) { avio_rb64(pb); |