Revision 3c47c174

View differences:

libavformat/rtp.c
218 218
{
219 219
    if (AVRtpPayloadTypes[payload_type].codec_id != CODEC_ID_NONE) {
220 220
        codec->codec_type = AVRtpPayloadTypes[payload_type].codec_type;
221
        codec->codec_id = AVRtpPayloadTypes[payload_type].codec_type;
221
        codec->codec_id = AVRtpPayloadTypes[payload_type].codec_id;
222 222
        if (AVRtpPayloadTypes[payload_type].audio_channels > 0)
223 223
            codec->channels = AVRtpPayloadTypes[payload_type].audio_channels;
224 224
        if (AVRtpPayloadTypes[payload_type].clock_rate > 0)

Also available in: Unified diff