[Ffmpeg-devel] 4XM audio codec_tag

Måns Rullgård mru
Sun Nov 5 17:20:05 CET 2006


Diego Biurrun <diego at biurrun.de> writes:

> Hi,
>
> libavformat/4xm.c sets st->codec->codec_tag = 1 for 4XM audio.  This
> seems wrong, codec_id 1 would be PCM audio.  ffplay seems to be able to
> cope with this, but MPlayer cannot.
>
> So what codec_id could/should be used in this case?  4XMA seems to work
> fine, any other suggestions?  Does it have to be a TwoCC?

How about setting it to 0 like for video?  The codec_id field should
be enough for any well-behaved app.

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




More information about the ffmpeg-devel mailing list