Commit effbeff5 authored by Michael Niedermayer's avatar Michael Niedermayer

libavformat/utils: use FFMIN() where possible

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 37ed5df5
......@@ -3237,8 +3237,7 @@ int av_interleave_packet_per_dts(AVFormatContext *s, AVPacket *out, AVPacket *pk
av_rescale_q(s->packet_buffer->pkt.dts,
s->streams[s->packet_buffer->pkt.stream_index]->time_base,
AV_TIME_BASE_Q);
if (delta_dts < delta_dts_min)
delta_dts_min = delta_dts;
delta_dts_min = FFMIN(delta_dts_min, delta_dts);
++stream_count;
} else {
if(s->streams[i]->codec->codec_type == AVMEDIA_TYPE_SUBTITLE)
......
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