mirror of https://git.ffmpeg.org/ffmpeg.git
parent
9a5e81235e
commit
8582e6e9a3
|
@ -498,8 +498,10 @@ static int swf_write_trailer(AVFormatContext *s)
|
||||||
avio_wl32(pb, file_size);
|
avio_wl32(pb, file_size);
|
||||||
avio_seek(pb, swf->duration_pos, SEEK_SET);
|
avio_seek(pb, swf->duration_pos, SEEK_SET);
|
||||||
avio_wl16(pb, swf->video_frame_number);
|
avio_wl16(pb, swf->video_frame_number);
|
||||||
|
if (swf->vframes_pos) {
|
||||||
avio_seek(pb, swf->vframes_pos, SEEK_SET);
|
avio_seek(pb, swf->vframes_pos, SEEK_SET);
|
||||||
avio_wl16(pb, swf->video_frame_number);
|
avio_wl16(pb, swf->video_frame_number);
|
||||||
|
}
|
||||||
avio_seek(pb, file_size, SEEK_SET);
|
avio_seek(pb, file_size, SEEK_SET);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue