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

Vitor vitor1001
Tue Jun 26 21:07:50 CEST 2007


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?

-Vitor




More information about the ffmpeg-devel mailing list