Revision 72415b2a libavformat/psxstr.c

View differences:

libavformat/psxstr.c
169 169

  
170 170
                    str->channels[channel].video_stream_index = st->index;
171 171

  
172
                    st->codec->codec_type = CODEC_TYPE_VIDEO;
172
                    st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
173 173
                    st->codec->codec_id   = CODEC_ID_MDEC;
174 174
                    st->codec->codec_tag  = 0;  /* no fourcc */
175 175
                    st->codec->width      = AV_RL16(&sector[0x28]);
......
216 216

  
217 217
                str->channels[channel].audio_stream_index = st->index;
218 218

  
219
                st->codec->codec_type  = CODEC_TYPE_AUDIO;
219
                st->codec->codec_type  = AVMEDIA_TYPE_AUDIO;
220 220
                st->codec->codec_id    = CODEC_ID_ADPCM_XA;
221 221
                st->codec->codec_tag   = 0;  /* no fourcc */
222 222
                st->codec->channels    = (fmt&1)?2:1;

Also available in: Unified diff