Changeset 2446


Ignore:
Timestamp:
Feb 10, 2009 7:38:38 AM (11 years ago)
Author:
nanang
Message:

Minor fix/ticket #720: removed unused var & memory allocation in stream.

File:
1 edited

Legend:

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

    r2394 r2446  
    5353    unsigned                pt;             /**< Payload type.              */ 
    5454    pj_bool_t               paused;         /**< Paused?.                   */ 
    55     unsigned                in_pkt_size;    /**< Size of input buffer.      */ 
    56     void                   *in_pkt;         /**< Input buffer.              */ 
    5755    unsigned                out_pkt_size;   /**< Size of output buffer.     */ 
    5856    void                   *out_pkt;        /**< Output buffer.             */ 
     
    13941392    channel->paused = 1; 
    13951393    channel->pt = pt; 
    1396  
    1397     /* Allocate buffer for incoming packet. */ 
    1398  
    1399     channel->in_pkt_size = PJMEDIA_MAX_MTU; 
    1400     channel->in_pkt = pj_pool_alloc( pool, channel->in_pkt_size ); 
    1401     PJ_ASSERT_RETURN(channel->in_pkt != NULL, PJ_ENOMEM); 
    14021394 
    14031395     
Note: See TracChangeset for help on using the changeset viewer.