Fix muxing mjpeg in swf.
(cherry picked from commit 7680d99b4302e476076cc1b8f2567f47c2aaef4d)
This commit is contained in:
parent
4155968fc6
commit
72791e41d4
@ -494,8 +494,10 @@ static int swf_write_trailer(AVFormatContext *s)
|
||||
avio_wl32(pb, file_size);
|
||||
avio_seek(pb, swf->duration_pos, SEEK_SET);
|
||||
avio_wl16(pb, swf->video_frame_number);
|
||||
if (swf->vframes_pos) {
|
||||
avio_seek(pb, swf->vframes_pos, SEEK_SET);
|
||||
avio_wl16(pb, swf->video_frame_number);
|
||||
}
|
||||
avio_seek(pb, file_size, SEEK_SET);
|
||||
}
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user