# HG changeset patch # User stefano # Date 1274639658 0 # Node ID eeb6e3c4c32b6f1449bf4998968993370a9f77d2 # Parent d0ea87d82842e8040cec7c1e47d5bee17394c803 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. diff -r d0ea87d82842 -r eeb6e3c4c32b nutdec.c --- a/nutdec.c Sun May 23 18:34:15 2010 +0000 +++ b/nutdec.c Sun May 23 18:34:18 2010 +0000 @@ -316,7 +316,9 @@ { 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;