Advertisement
oanastratulat

Untitled

Jan 10th, 2012
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.45 KB | None | 0 0
  1. diff --git a/libavformat/mov.c b/libavformat/mov.c
  2. index 05521fd..6c6da78 100644
  3. --- a/libavformat/mov.c
  4. +++ b/libavformat/mov.c
  5. @@ -769,6 +769,8 @@ static int mov_read_mdhd(MOVContext *c, AVIOContext *pb, MOVAtom atom)
  6.          av_dict_set(&st->metadata, "language", language, 0);
  7.      avio_rb16(pb); /* quality */
  8.  
  9. +       st->duration = c->duration;
  10. +    av_log(0,0,"dur : %lld\ntimescale : %d\n",st->duration,sc->time_scale);
  11.      return 0;
  12.  }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement