[Ffmpeg-devel] [PATCH] asf seek back at end of file after rewriting header

Baptiste Coudurier baptiste.coudurier
Sun Apr 15 18:18:06 CEST 2007

Reimar D?ffinger wrote:
> Hello,
> On Sat, Apr 14, 2007 at 04:13:15AM +0200, Baptiste Coudurier wrote:
> [...]
>> url_fsize does seek.
> Actually that is not completely correct, it tries
> size = s->seek(s->opaque, 0, AVSEEK_SIZE);
> first.
> Even thought that function is called seek, there is no need for this
> operation to seek, and it can be implemented for all kinds of urls,
> whether they are pipes or whatever.

Use f/stat to find file size instead of seek ? Is there any other
solution ? In hope there is no portability problems.

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312

More information about the ffmpeg-devel mailing list