Revision a14d138c

View differences:

libavcodec/mpegaudio_parser.c
58 58

  
59 59
    switch(s->layer) {
60 60
    case 1:
61
        avctx->codec_id = CODEC_ID_MP1;
61 62
        *frame_size = 384;
62 63
        break;
63 64
    case 2:
65
        avctx->codec_id = CODEC_ID_MP2;
64 66
        *frame_size = 1152;
65 67
        break;
66 68
    default:
67 69
    case 3:
70
        avctx->codec_id = CODEC_ID_MP3;
68 71
        if (s->lsf)
69 72
            *frame_size = 576;
70 73
        else

Also available in: Unified diff