diff options
author | Martin Storsjö <martin@martin.st> | 2010-10-01 17:41:31 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-10-01 17:41:31 +0000 |
commit | 96a7c9753e81ac1f2de12f3249ea7c001d50a3f7 (patch) | |
tree | 186f31611a2e0b10ef9b7a3763158ce508e1364a /libavformat/rtsp.h | |
parent | 6705dd5f9889d7877b3503fb09b46fb9d875de17 (diff) | |
download | ffmpeg-96a7c9753e81ac1f2de12f3249ea7c001d50a3f7.tar.gz |
rtsp: Use a dynamically allocated receive buffer
Originally committed as revision 25288 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.h')
-rw-r--r-- | libavformat/rtsp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h index c5776187e0..3d2c67818e 100644 --- a/libavformat/rtsp.h +++ b/libavformat/rtsp.h @@ -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; /** |