Guest User

Untitled

a guest
Jul 17th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.54 KB | None | 0 0
  1. diff --git a/libavformat/movenc.c b/libavformat/movenc.c
  2. index f776c75..6de222f 100644
  3. --- a/libavformat/movenc.c
  4. +++ b/libavformat/movenc.c
  5. @@ -2821,7 +2821,7 @@ static int mov_write_packet_internal(AVFormatContext *s, AVPacket *pkt)
  6.  
  7.      if (!size) return 0; /* Discard 0 sized packets */
  8.  
  9. -    if (trk->entry)
  10. +    if (trk->entry && 0)
  11.          frag_duration = av_rescale_q(pkt->dts - trk->cluster[0].dts,
  12.                                       s->streams[pkt->stream_index]->time_base,
  13.                                       AV_TIME_BASE_Q);
Add Comment
Please, Sign In to add comment