Revision 6399c17d libavformat/sdp.c

View differences:

libavformat/sdp.c
257 257

  
258 258
    payload_type = ff_rtp_get_payload_type(c);
259 259
    if (payload_type < 0) {
260
        payload_type = RTP_PT_PRIVATE;  /* FIXME: how to assign a private pt? rtp.c is broken too */
260
        payload_type = RTP_PT_PRIVATE + (c->codec_type == CODEC_TYPE_AUDIO);
261 261
    }
262 262

  
263 263
    switch (c->codec_type) {

Also available in: Unified diff