diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2010-08-13 17:30:01 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2010-08-13 17:30:01 +0000 |
commit | 67197656d19fa9e084e47b5331c262a9c7842335 (patch) | |
tree | 11626b91effab046306a041f0584880416511386 /libavformat/mmst.c | |
parent | c46000c1ff570f30f2255dcb42950b464a219a3d (diff) | |
download | ffmpeg-67197656d19fa9e084e47b5331c262a9c7842335.tar.gz |
Remove use of MAX_STREAMS in MMSContext->streams[] array. Instead, dynamically
allocate the array.
Originally committed as revision 24794 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mmst.c')
-rw-r--r-- | libavformat/mmst.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mmst.c b/libavformat/mmst.c index ccfc212b1f..3d12d82b73 100644 --- a/libavformat/mmst.c +++ b/libavformat/mmst.c @@ -468,6 +468,7 @@ static int mms_close(URLContext *h) } /* free all separately allocated pointers in mms */ + av_free(mms->streams); av_free(mms->asf_header); av_freep(&h->priv_data); |