Commit 8064c6ac authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'f9157463'

* commit 'f9157463':
  lavf: do not use the parser duration for video
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 3bf189bb f9157463
......@@ -1360,12 +1360,6 @@ static int parse_packet(AVFormatContext *s, AVPacket *pkt, int stream_index)
st->time_base,
AV_ROUND_DOWN);
}
} else if (st->codec->time_base.num != 0 &&
st->codec->time_base.den != 0) {
out_pkt.duration = av_rescale_q_rnd(st->parser->duration,
st->codec->time_base,
st->time_base,
AV_ROUND_DOWN);
}
out_pkt.stream_index = st->index;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment