mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
libavformat/utils: use FFMIN() where possible
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
37ed5df5c5
commit
effbeff503
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user