Revision b7d1cd02 libavformat/flvenc.c

View differences:

libavformat/flvenc.c
39 39
    {CODEC_ID_PCM_S16BE, FLV_CODECID_PCM    >> FLV_AUDIO_CODECID_OFFSET},
40 40
    {CODEC_ID_PCM_S16LE, FLV_CODECID_PCM_LE >> FLV_AUDIO_CODECID_OFFSET},
41 41
    {CODEC_ID_ADPCM_SWF, FLV_CODECID_ADPCM  >> FLV_AUDIO_CODECID_OFFSET},
42
    {CODEC_ID_NELLYMOSER, FLV_CODECID_NELLYMOSER >> FLV_AUDIO_CODECID_OFFSET},
42 43
    {CODEC_ID_NONE,      0}
43 44
};
44 45

  
......
95 96
    case CODEC_ID_ADPCM_SWF:
96 97
        flags |= FLV_CODECID_ADPCM | FLV_SAMPLESSIZE_16BIT;
97 98
        break;
99
    case CODEC_ID_NELLYMOSER:
100
        flags |= FLV_CODECID_NELLYMOSER | FLV_SAMPLESSIZE_16BIT;
101
        break;
98 102
    case 0:
99 103
        flags |= enc->codec_tag<<4;
100 104
        break;

Also available in: Unified diff