diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-10-07 23:35:55 +0400 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-10-07 23:35:55 +0400 |
commit | c6d04addf6645778a447d41a40436203544ec28d (patch) | |
tree | 51517bfb7eefad5de9e5a6e4d90a477b99a8346d /libavformat | |
parent | ca8064d2d1b293d7a8011bf0a08005c11ae8ba67 (diff) |
In gxf muxer, fix number of flt entries based on patch by Reuben Martin, reuben dot m at gmail dot com
Originally committed as revision 25399 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/gxfenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/gxfenc.c b/libavformat/gxfenc.c index 5fff2af058..78e1a1cbdd 100644 --- a/libavformat/gxfenc.c +++ b/libavformat/gxfenc.c @@ -365,7 +365,7 @@ static int gxf_write_flt_packet(AVFormatContext *s) ByteIOContext *pb = s->pb; int64_t pos = url_ftell(pb); int fields_per_flt = (gxf->nb_fields+1) / 1000 + 1; - int flt_entries = gxf->nb_fields / fields_per_flt - 1; + int flt_entries = gxf->nb_fields / fields_per_flt; int i = 0; gxf_write_packet_header(pb, PKT_FLT); |