Commit 5ccc2825 authored by bcoudurier's avatar bcoudurier

remove unused field

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@23232 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 81d88d2e
...@@ -40,7 +40,6 @@ typedef struct { ...@@ -40,7 +40,6 @@ typedef struct {
} OGGPage; } OGGPage;
typedef struct { typedef struct {
int64_t duration;
unsigned page_counter; unsigned page_counter;
uint8_t *header[3]; uint8_t *header[3];
int header_len[3]; int header_len[3];
...@@ -402,7 +401,6 @@ static int ogg_write_packet(AVFormatContext *s, AVPacket *pkt) ...@@ -402,7 +401,6 @@ static int ogg_write_packet(AVFormatContext *s, AVPacket *pkt)
granule = (oggstream->last_kf_pts<<oggstream->kfgshift) | pframe_count; granule = (oggstream->last_kf_pts<<oggstream->kfgshift) | pframe_count;
} else } else
granule = pkt->pts + pkt->duration; granule = pkt->pts + pkt->duration;
oggstream->duration = granule;
ret = ogg_buffer_data(s, st, pkt->data, pkt->size, granule); ret = ogg_buffer_data(s, st, pkt->data, pkt->size, granule);
if (ret < 0) if (ret < 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment