[FFmpeg-cvslog] r23232 - trunk/libavformat/oggenc.c

bcoudurier subversion
Fri May 21 23:41:39 CEST 2010


Author: bcoudurier
Date: Fri May 21 23:41:38 2010
New Revision: 23232

Log:
remove unused field

Modified:
   trunk/libavformat/oggenc.c

Modified: trunk/libavformat/oggenc.c
==============================================================================
--- trunk/libavformat/oggenc.c	Fri May 21 23:38:54 2010	(r23231)
+++ trunk/libavformat/oggenc.c	Fri May 21 23:41:38 2010	(r23232)
@@ -40,7 +40,6 @@ typedef struct {
 } OGGPage;
 
 typedef struct {
-    int64_t duration;
     unsigned page_counter;
     uint8_t *header[3];
     int header_len[3];
@@ -402,7 +401,6 @@ static int ogg_write_packet(AVFormatCont
         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)



More information about the ffmpeg-cvslog mailing list