Commit b80935c9 authored by stefano's avatar stefano

Make the nut decoder read the ff_nut_video_tags to detect codec id of

the input file.

This is required as Nut codec tags are not contained in
ff_codec_bmp_tags.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@23260 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 747cb87c
......@@ -316,7 +316,9 @@ static int decode_stream_header(NUTContext *nut){
{
case 0:
st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
st->codec->codec_id = ff_codec_get_id(ff_codec_bmp_tags, tmp);
st->codec->codec_id = av_codec_get_id(
(const AVCodecTag * const []) { ff_codec_bmp_tags, ff_nut_video_tags, 0 },
tmp);
break;
case 1:
st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment