[FFmpeg-devel] Reworking the codec lookup system

Michael Niedermayer michaelni
Mon Jun 11 03:20:28 CEST 2007


Hi

On Sun, Jun 10, 2007 at 11:02:27PM +0200, Nicolas George wrote:
> Le duodi 22 prairial, an CCXV, Diego Biurrun a ?crit?:
> > This has been fixed, names should now be globally unique.
> 
> Yes, but it is not enough. The way things are done now is: -[av]codec look
> in the table for the name, and store the codec ID in a variable. Later, the
> codec ID is used to again lookup the codec in the table.
> 
> The problem is that the native Vorbis encoder and the libvorbis one,
> although they have different names, use the same CODEC_ID_VORBIS.

ffmpeg.c should not map name to codec id and then select the encoder
with that but rather use the name directly ...


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

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- 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/20070611/658a5646/attachment.pgp>



More information about the ffmpeg-devel mailing list