summaryrefslogtreecommitdiff
path: root/libavformat/swf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/swf.c')
-rw-r--r--libavformat/swf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/swf.c b/libavformat/swf.c
index 7ec3f7f767..ab9ec5acb5 100644
--- a/libavformat/swf.c
+++ b/libavformat/swf.c
@@ -691,6 +691,7 @@ static int swf_write_trailer(AVFormatContext *s)
put_le32(pb, file_size);
url_fseek(pb, swf->duration_pos, SEEK_SET);
put_le16(pb, video_enc->frame_number);
+ url_fseek(pb, file_size, SEEK_SET);
}
av_free(swf->audio_fifo);