[Ffmpeg-devel] Re: [BUG] The ADTS muxer produces empty files

Måns Rullgård mru
Mon Mar 27 12:18:04 CEST 2006


Baptiste COUDURIER said:
> Luca Abeni wrote:
>> Hi M?ns,
>>
>> On Mon, 2006-03-27 at 09:45 +0100, M?ns Rullg?rd wrote:
>> [...]
>>>> Is anyone else seeing similar problems with the ADTS muxer?
>>> Confirmed.  I'll look into it later (at work now).
>> Ok, thanks.
>>
>> In case this helps, I did some tests here and it seems the problem is
>> that the s->pb buffer is not flushed.
>> I tried adding a put_flush_packet() in adts_write_trailer() and it
>> worked, but I do not know if this is the right solution.
>
> Confirmed, adding put_flush_packet fixes the problem, Mans may I commit
> this change ?

Sure, go ahead.  Saves me some time ;-)

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list