[FFmpeg-devel] A question about AVOutputFormat.write_trailer (cosmetical)

Michael Niedermayer michaelni
Tue Jun 26 22:09:52 CEST 2007


Hi

On Tue, Jun 26, 2007 at 09:07:50PM +0200, Vitor wrote:
> Hi,
> 
> For a good number of muxers (notably in raw.c), there is an empty 
> function that is passed to AVOutputFormat.write_trailer. The only place 
> it is called checks for a NULL pointer, and almost every muxer pass a 
> NULL pointer to AVOutputFormat.interleave_packet. So would it be ok to 
> send a patch to remove all those empty functions and set write_trailer 
> to NULL instead?

yes

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Freedom in capitalist society always remains about the same as it was in
ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070626/8895ddfc/attachment.pgp>



More information about the ffmpeg-devel mailing list