summaryrefslogtreecommitdiff
path: root/libavformat/oggenc.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2010-05-21 21:41:38 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2010-05-21 21:41:38 +0000
commitff85f586051d7de4838cfb5d8f1ce2cc85bc21d1 (patch)
tree1eb2b79c34e69d855495d3028e5e421df3cd52c4 /libavformat/oggenc.c
parent95ca3b1e20670d9f78f23250a314751a292ece56 (diff)
remove unused field
Originally committed as revision 23232 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/oggenc.c')
-rw-r--r--libavformat/oggenc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/oggenc.c b/libavformat/oggenc.c
index 70264a4383..297d90b586 100644
--- a/libavformat/oggenc.c
+++ b/libavformat/oggenc.c
@@ -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(AVFormatContext *s, AVPacket *pkt)
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)