rtsp: Use a dynamically allocated receive buffer

Originally committed as revision 25288 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Martin Storsjö
2010-10-01 17:41:31 +00:00
parent 6705dd5f98
commit 96a7c9753e
2 changed files with 15 additions and 5 deletions

View File

@@ -309,6 +309,9 @@ typedef struct RTSPState {
* An EOF is propagated back if nb_byes == nb_streams.
* This is reset after a seek. */
int nb_byes;
/** Reusable buffer for receiving packets */
uint8_t* recvbuf;
} RTSPState;
/**