Browse Source

Fix muxing mjpeg in swf.

(cherry picked from commit 7680d99b43)
tags/n0.10.5
Carl Eugen Hoyos 13 years ago
parent
commit
2cf6afffe5
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavformat/swfenc.c

+ 2
- 0
libavformat/swfenc.c View File

@@ -498,8 +498,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…
Cancel
Save