Revision 72415b2a libavformat/nsvdec.c

View differences:

libavformat/nsvdec.c
456 456
            if (!nst)
457 457
                goto fail;
458 458
            st->priv_data = nst;
459
            st->codec->codec_type = CODEC_TYPE_VIDEO;
459
            st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
460 460
            st->codec->codec_tag = vtag;
461 461
            st->codec->codec_id = ff_codec_get_id(nsv_codec_video_tags, vtag);
462 462
            st->codec->width = vwidth;
......
487 487
            if (!nst)
488 488
                goto fail;
489 489
            st->priv_data = nst;
490
            st->codec->codec_type = CODEC_TYPE_AUDIO;
490
            st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
491 491
            st->codec->codec_tag = atag;
492 492
            st->codec->codec_id = ff_codec_get_id(nsv_codec_audio_tags, atag);
493 493

  

Also available in: Unified diff