Mercurial > libavformat.hg
diff rtpenc.h @ 4391:3c0d674bd232 libavformat
Do not use RTP_MAX_PACKET_LENGTH in the RTP muxer
| author | lucabe |
|---|---|
| date | Fri, 06 Feb 2009 20:41:15 +0000 |
| parents | 25430a31705d |
| children | 730b214077ca |
line wrap: on
line diff
--- a/rtpenc.h Fri Feb 06 20:30:18 2009 +0000 +++ b/rtpenc.h Fri Feb 06 20:41:15 2009 +0000 @@ -46,7 +46,7 @@ unsigned int last_octet_count; // TODO: move into statistics (outgoing) int first_packet; /* buffer for output */ - uint8_t buf[RTP_MAX_PACKET_LENGTH]; + uint8_t *buf; uint8_t *buf_ptr; int max_frames_per_packet;
