Commit 64943b47 authored by Jean First's avatar Jean First Committed by Michael Niedermayer

lavf remove duplicated check in has_duration

this hunk was merged in 8b97ae64 and cbf767a8 although the check was there a
few lines above since cdced09e. I removed the first check to reduce the differences
to libav.
Signed-off-by: 's avatarJean First <jeanfirst@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 75d5624c
......@@ -1977,8 +1977,6 @@ static int has_duration(AVFormatContext *ic)
{
int i;
AVStream *st;
if(ic->duration != AV_NOPTS_VALUE)
return 1;
for(i = 0;i < ic->nb_streams; i++) {
st = ic->streams[i];
......
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