From c10731e78b3ed89090b808b0919947f5729841c3 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 9 Oct 2011 14:12:14 +0200 Subject: lavf: deprecate AVFormatContext.file_size It's too unreliable to be useful. avio_size() should be called instead. --- libavformat/aiffdec.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'libavformat/aiffdec.c') diff --git a/libavformat/aiffdec.c b/libavformat/aiffdec.c index 34e6d88ab9..54972de5e0 100644 --- a/libavformat/aiffdec.c +++ b/libavformat/aiffdec.c @@ -268,9 +268,6 @@ static int aiff_read_header(AVFormatContext *s, got_sound: /* Now positioned, get the sound data start and end */ - if (st->nb_frames) - s->file_size = st->nb_frames * st->codec->block_align; - av_set_pts_info(st, 64, 1, st->codec->sample_rate); st->start_time = 0; st->duration = st->codec->frame_size ? -- cgit v1.2.3