oanastratulat

Untitled

Jan 10th, 2012
51
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×