diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c index 0dfb3d7321..ff000e7a79 100644 --- a/libavformat/oggdec.c +++ b/libavformat/oggdec.c @@ -462,7 +462,6 @@ ogg_get_length (AVFormatContext * s) s->streams[idx]->duration -= s->streams[idx]->start_time; } - ogg->size = size; ogg_restore (s, 0); return 0; diff --git a/libavformat/oggdec.h b/libavformat/oggdec.h index 80ebfeb80d..7d66cd5638 100644 --- a/libavformat/oggdec.h +++ b/libavformat/oggdec.h @@ -91,7 +91,6 @@ struct ogg { int nstreams; int headers; int curidx; - uint64_t size; struct ogg_state *state; };