changeset 6028:d920f5eb9d10 libavformat

remove unused field
author bcoudurier
date Fri, 21 May 2010 21:41:38 +0000
parents 710cc5866cbf
children 7e9deb9f0234
files oggenc.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/oggenc.c	Fri May 21 21:38:54 2010 +0000
+++ b/oggenc.c	Fri May 21 21:41:38 2010 +0000
@@ -40,7 +40,6 @@
 } OGGPage;
 
 typedef struct {
-    int64_t duration;
     unsigned page_counter;
     uint8_t *header[3];
     int header_len[3];
@@ -402,7 +401,6 @@
         granule = (oggstream->last_kf_pts<<oggstream->kfgshift) | pframe_count;
     } else
         granule = pkt->pts + pkt->duration;
-    oggstream->duration = granule;
 
     ret = ogg_buffer_data(s, st, pkt->data, pkt->size, granule);
     if (ret < 0)