- Timestamp:
- Mar 19, 2006 12:49:13 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/port.c
r205 r335 104 104 { 105 105 PJ_ASSERT_RETURN(port && frame, PJ_EINVAL); 106 PJ_ASSERT_RETURN(port->get_frame, PJ_EINVALIDOP); 106 107 107 108 return port->get_frame(port, frame); … … 117 118 { 118 119 PJ_ASSERT_RETURN(port && frame, PJ_EINVAL); 120 PJ_ASSERT_RETURN(port->put_frame, PJ_EINVALIDOP); 119 121 120 122 return port->put_frame(port, frame); … … 142 144 } 143 145 144 status = port->on_destroy(port); 146 if (port->on_destroy) 147 status = port->on_destroy(port); 148 else 149 status = PJ_SUCCESS; 145 150 146 151 return status;
Note: See TracChangeset
for help on using the changeset viewer.