Advertisement
oanastratulat

Untitled

Jan 10th, 2012
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.36 KB | None | 0 0
  1. index 05521fd..44602dc 100644
  2. --- a/libavformat/mov.c
  3. +++ b/libavformat/mov.c
  4. @@ -806,7 +806,7 @@ static int mov_read_mvhd(MOVContext *c, AVIOContext *pb, MOVAtom atom)
  5.      avio_rb32(pb); /* selection duration */
  6.      avio_rb32(pb); /* current time */
  7.      avio_rb32(pb); /* next track ID */
  8. -
  9. +       c->fc->duration = c->duration;
  10.      return 0;
  11.  }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement