Revision 72415b2a libavformat/ffmdec.c

View differences:

libavformat/ffmdec.c
301 301
        codec->debug = get_be32(pb);
302 302
        /* specific info */
303 303
        switch(codec->codec_type) {
304
        case CODEC_TYPE_VIDEO:
304
        case AVMEDIA_TYPE_VIDEO:
305 305
            codec->time_base.num = get_be32(pb);
306 306
            codec->time_base.den = get_be32(pb);
307 307
            codec->width = get_be16(pb);
......
350 350
            codec->refs = get_be32(pb);
351 351
            codec->directpred = get_be32(pb);
352 352
            break;
353
        case CODEC_TYPE_AUDIO:
353
        case AVMEDIA_TYPE_AUDIO:
354 354
            codec->sample_rate = get_be32(pb);
355 355
            codec->channels = get_le16(pb);
356 356
            codec->frame_size = get_le16(pb);

Also available in: Unified diff