summaryrefslogtreecommitdiff
path: root/libavformat/rtsp.h
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2010-08-09 23:00:13 +0000
committerAurelien Jacobs <aurel@gnuage.org>2010-08-09 23:00:13 +0000
commitbe73ba2fa4890b857d987b79958e46af8c5e545b (patch)
tree70343f2d3971b7093b02ad98c93d7f58a1091199 /libavformat/rtsp.h
parentdfdb353cd565efbd1f64105ce7519ec809ad338d (diff)
downloadffmpeg-be73ba2fa4890b857d987b79958e46af8c5e545b.tar.gz
get rid of MAX_STREAMS limit in RTSP
Originally committed as revision 24752 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.h')
-rw-r--r--libavformat/rtsp.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h
index 1dba9961c3..814d8d8e8d 100644
--- a/libavformat/rtsp.h
+++ b/libavformat/rtsp.h
@@ -267,7 +267,11 @@ typedef struct RTSPState {
/** stream setup during the last frame read. This is used to detect if
* we need to subscribe or unsubscribe to any new streams. */
- enum AVDiscard real_setup_cache[MAX_STREAMS];
+ enum AVDiscard *real_setup_cache;
+
+ /** current stream setup. This is a temporary buffer used to compare
+ * current setup to previous frame setup. */
+ enum AVDiscard *real_setup;
/** the last value of the "SET_PARAMETER Subscribe:" RTSP command.
* this is used to send the same "Unsubscribe:" if stream setup changed,