mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avformat/segafilm: set audio stream duration
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
e6cccf9daa
commit
0cb09b0511
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user