[SCM] libav/experimental: remove unused field
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 17:07:25 UTC 2013
The following commit has been merged in the experimental branch:
commit ff85f586051d7de4838cfb5d8f1ce2cc85bc21d1
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date: Fri May 21 21:41:38 2010 +0000
remove unused field
Originally committed as revision 23232 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavformat/oggenc.c b/libavformat/oggenc.c
index 70264a4..297d90b 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)
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list