changeset 3382:45da68497603 libavformat

use internal video frame number
author bcoudurier
date Tue, 27 May 2008 22:37:54 +0000
parents 10201d222e76
children 2e9f19e0493b
files swfenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/swfenc.c	Tue May 27 22:34:31 2008 +0000
+++ b/swfenc.c	Tue May 27 22:37:54 2008 +0000
@@ -494,7 +494,7 @@
         url_fseek(pb, 4, SEEK_SET);
         put_le32(pb, file_size);
         url_fseek(pb, swf->duration_pos, SEEK_SET);
-        put_le16(pb, video_enc->frame_number);
+        put_le16(pb, swf->video_frame_number);
         url_fseek(pb, file_size, SEEK_SET);
     }
     return 0;