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

Måns Rullgård mans
Sat Apr 14 01:35:41 CEST 2007


Baptiste Coudurier <baptiste.coudurier at smartjog.com> writes:

> Michael Niedermayer wrote:
>> Hi
>> 
>> On Sat, Apr 14, 2007 at 12:20:44AM +0200, Baptiste Coudurier wrote:
>>> Michael Niedermayer wrote:
>>>> Hi
>>>>
>>>> On Fri, Apr 13, 2007 at 11:52:41PM +0200, Baptiste Coudurier wrote:
>>>>> Hi
>>>>>
>>>>> $subj.
>>>> Why?
>>> Because without that, url_ftell will not report file size,
>> 
>> you mean url_ftell() will not return file size after muxing an asf file has
>> finished
>> 
>> but why should url_ftell() behave like that?!
>
> Why should stream position after write_trailer be at any random location?

The file shouldn't be accessed after this, so the location shouldn't
matter.  Now it seems ffmpeg.c assumes that the file position will
always be at the end.  Rather than requiring every muxer to ensure
this, I agree that it's better to do things properly in ffmpeg.c.

>>> and it ffmpeg will display overread 99%, etc..
>> 
>> you mean muxing overHEAD
>> really you are almost as bad as alex when it comes to writing meaningfull
>> english
>
> Is that you saying that without knowing how to use punctuation correctly ?

Stop it, both of you.  Neither of you is a native English speaker, and
the occasional mistake is understandable.  Michael's persistent
refusal to use any punctuation whatsoever is not, however.  It strikes
me as childish, if anything.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list