Browse Source

remove unused field

Originally committed as revision 23232 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Baptiste Coudurier 15 years ago
parent
commit
ff85f58605
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      libavformat/oggenc.c

+ 0
- 2
libavformat/oggenc.c View File

@@ -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)


Loading…
Cancel
Save