aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-05-27 22:37:54 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-05-27 22:37:54 +0000
commitefb533312f09eebdf5781f042ab0e0f7cd0264b1 (patch)
tree49f410756240f7bc8d55391ae63fef171b8acf79 /libavformat
parentf2ecb775a7f64fd2aee65f7f43fb24f18f3ab837 (diff)
downloadffmpeg-efb533312f09eebdf5781f042ab0e0f7cd0264b1.tar.gz
use internal video frame number
Originally committed as revision 13479 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/swfenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/swfenc.c b/libavformat/swfenc.c
index 0fc244e126..dcba793839 100644
--- a/libavformat/swfenc.c
+++ b/libavformat/swfenc.c
@@ -494,7 +494,7 @@ static int swf_write_trailer(AVFormatContext *s)
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;