[Ffmpeg-devel] 4XM audio codec_tag

Diego Biurrun diego
Sun Nov 5 17:28:03 CET 2006


On Sun, Nov 05, 2006 at 04:20:05PM +0000, M?ns Rullg?rd wrote:
> Diego Biurrun <diego at biurrun.de> writes:
> 
> > 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.

That does the trick, I'll apply in a moment.

Diego




More information about the ffmpeg-devel mailing list