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

Baptiste COUDURIER baptiste.coudurier
Mon Mar 27 12:06:14 CEST 2006


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 ?

-- 
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