Revision 99a45234 libavformat/nutdec.c

View differences:

libavformat/nutdec.c
302 302
    {
303 303
        case 0:
304 304
            st->codec->codec_type = CODEC_TYPE_VIDEO;
305
            st->codec->codec_id = codec_get_bmp_id(tmp);
305
            st->codec->codec_id = codec_get_id(codec_bmp_tags, tmp);
306 306
            if (st->codec->codec_id == CODEC_ID_NONE)
307 307
                av_log(s, AV_LOG_ERROR, "Unknown codec?!\n");
308 308
            break;
309 309
        case 1:
310 310
            st->codec->codec_type = CODEC_TYPE_AUDIO;
311
            st->codec->codec_id = codec_get_wav_id(tmp);
311
            st->codec->codec_id = codec_get_id(codec_wav_tags, tmp);
312 312
            if (st->codec->codec_id == CODEC_ID_NONE)
313 313
                av_log(s, AV_LOG_ERROR, "Unknown codec?!\n");
314 314
            break;

Also available in: Unified diff