Commit 0cb09b05 authored by Paul B Mahol's avatar Paul B Mahol

avformat/segafilm: set audio stream duration

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent e6cccf9d
......@@ -247,6 +247,9 @@ static int film_read_header(AVFormatContext *s)
}
}
if (film->audio_type)
s->streams[film->audio_stream_index]->duration = audio_frame_counter;
film->current_sample = 0;
return 0;
......
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