changeset 1643:20c25a594c49 libavformat

seek back at the end of file after updating header
author bcoudurier
date Sun, 14 Jan 2007 13:57:26 +0000
parents 8b62e4e73069
children f5a0cd8c23ac
files swf.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/swf.c	Sun Jan 14 12:47:32 2007 +0000
+++ b/swf.c	Sun Jan 14 13:57:26 2007 +0000
@@ -691,6 +691,7 @@
         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);