Changeset 900 for pjproject/trunk


Ignore:
Timestamp:
Jan 23, 2007 3:22:29 PM (18 years ago)
Author:
bennylp
Message:

Fixed ticket #75: allow empty SDP format list when media port is zero

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/sdp.c

    r889 r900  
    12271227        CHECK( m->desc.media.slen != 0, PJMEDIA_SDP_EINMEDIA); 
    12281228        CHECK( m->desc.transport.slen != 0, PJMEDIA_SDP_EINMEDIA); 
    1229         CHECK( m->desc.fmt_count != 0, PJMEDIA_SDP_ENOFMT); 
     1229        CHECK( m->desc.fmt_count != 0 || m->desc.port==0, PJMEDIA_SDP_ENOFMT); 
    12301230 
    12311231        /* If media level connection info is present, validate it. */ 
Note: See TracChangeset for help on using the changeset viewer.