Signed-off-by: Paul B Mahol <one...@gmail.com> --- libavformat/segafilm.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/libavformat/segafilm.c b/libavformat/segafilm.c index b4f9b3d..9c346e6 100644 --- a/libavformat/segafilm.c +++ b/libavformat/segafilm.c @@ -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; -- 1.9.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel