On Wed, 6 Jan 2016 04:33:16 +0100
Mats Peterson <matsp888-at-yahoo....@ffmpeg.org> wrote:

> At least in this case, MPlayer seems to look at the codec tag rather
> than the codec ID in order to determine the codec. Therefore, the
> 'fourcc' variable needs to be set to 'SVQ3' as well, which is later
> copied to st->codec->codec_tag in matroskadec.c.

You should fix mplayer instead. FFmpeg API users are not supposed to
use fourcc fields to identify codecs. The fourcc variable in
matroskadec.c is copied to AVCodecContext.codec_tag, which is not
necessarily a fourcc (depends on the CODEC_ID; most time it's unused),
and the svq3 decoder in libavcodec doesn't read it.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to