nutdec: set duration_estimation_method

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/59/head
Michael Niedermayer 13 years ago
parent 3233ad4b44
commit ac2d3b0f6e
  1. 2
      libavformat/nutdec.c

@ -568,6 +568,8 @@ static int64_t find_duration(NUTContext *nut, int64_t filesize)
duration = FFMAX(duration, ts);
pos++;
}
if(duration > 0)
s->duration_estimation_method = AVFMT_DURATION_FROM_PTS;
return duration;
}

Loading…
Cancel
Save