diff options
Diffstat (limited to 'libavformat/swfenc.c')
-rw-r--r-- | libavformat/swfenc.c | 2 |
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; |