Revision 72415b2a libavformat/thp.c

View differences:

libavformat/thp.c
100 100
            /* The denominator and numerator are switched because 1/fps
101 101
               is required.  */
102 102
            av_set_pts_info(st, 64, thp->fps.den, thp->fps.num);
103
            st->codec->codec_type = CODEC_TYPE_VIDEO;
103
            st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
104 104
            st->codec->codec_id = CODEC_ID_THP;
105 105
            st->codec->codec_tag = 0;  /* no fourcc */
106 106
            st->codec->width = get_be32(pb);
......
120 120
            if (!st)
121 121
                return AVERROR(ENOMEM);
122 122

  
123
            st->codec->codec_type = CODEC_TYPE_AUDIO;
123
            st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
124 124
            st->codec->codec_id = CODEC_ID_ADPCM_THP;
125 125
            st->codec->codec_tag = 0;  /* no fourcc */
126 126
            st->codec->channels    = get_be32(pb); /* numChannels.  */

Also available in: Unified diff