Revision 74aa41ba

View differences:

libavformat/utils.c
362 362
        } else if (!strcmp(fmt->name, "mpegvideo")) {
363 363
            st->codec->codec_id = CODEC_ID_MPEG2VIDEO;
364 364
            st->codec->codec_type = CODEC_TYPE_VIDEO;
365
        } else if (!strcmp(fmt->name, "m4v")) {
366
            st->codec->codec_id = CODEC_ID_MPEG4;
367
            st->codec->codec_type = CODEC_TYPE_VIDEO;
365 368
        } else if (!strcmp(fmt->name, "h264")) {
366 369
            st->codec->codec_id = CODEC_ID_H264;
367 370
            st->codec->codec_type = CODEC_TYPE_VIDEO;

Also available in: Unified diff