Revision 08e696c0 libavformat/sdp.c

View differences:

libavformat/sdp.c
228 228
                                         payload_type,
229 229
                                         c->sample_rate, c->channels);
230 230
            break;
231
        case CODEC_ID_AMR_NB:
232
            av_strlcatf(buff, size, "a=rtpmap:%d AMR/%d/%d\r\n"
233
                                    "a=fmtp:%d octet-align=1\r\n",
234
                                     payload_type, c->sample_rate, c->channels,
235
                                     payload_type);
236
            break;
237
        case CODEC_ID_AMR_WB:
238
            av_strlcatf(buff, size, "a=rtpmap:%d AMR-WB/%d/%d\r\n"
239
                                    "a=fmtp:%d octet-align=1\r\n",
240
                                     payload_type, c->sample_rate, c->channels,
241
                                     payload_type);
242
            break;
231 243
        default:
232 244
            /* Nothing special to do here... */
233 245
            break;

Also available in: Unified diff