aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2010-10-07 19:35:55 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2010-10-07 19:35:55 +0000
commitc6d04addf6645778a447d41a40436203544ec28d (patch)
tree51517bfb7eefad5de9e5a6e4d90a477b99a8346d
parentca8064d2d1b293d7a8011bf0a08005c11ae8ba67 (diff)
downloadffmpeg-c6d04addf6645778a447d41a40436203544ec28d.tar.gz
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
-rw-r--r--libavformat/gxfenc.c2
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);