Revision c1c90466 libavformat/mpeg.c

View differences:

libavformat/mpeg.c
459 459
        if(!memcmp(buf, avs_seqh, 4) && (buf[6] != 0 || buf[7] != 1))
460 460
            codec_id = CODEC_ID_CAVS;
461 461
        else
462
            codec_id = CODEC_ID_MPEG2VIDEO;
462
            codec_id = CODEC_ID_PROBE;
463 463
        type = CODEC_TYPE_VIDEO;
464 464
    } else if (startcode >= 0x1c0 && startcode <= 0x1df) {
465 465
        type = CODEC_TYPE_AUDIO;

Also available in: Unified diff