diff options
author | Zhentan Feng <spyfeng@gmail.com> | 2010-12-17 21:17:40 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2010-12-17 21:17:40 +0000 |
commit | c4e93eeecdab3e1a0c2d22df4360b994cb6643a7 (patch) | |
tree | 42060c8b7e1b2c6400fb7acc504420848692baf2 /libavformat/mms.h | |
parent | 86c9673bab6d1fccf32ef69010568a8d0d6e17d5 (diff) | |
download | ffmpeg-c4e93eeecdab3e1a0c2d22df4360b994cb6643a7.tar.gz |
Increase buffer size because the header itself can be larger than 8192
(largest size according to spec: 64k). Fixes playback of
mmsh://a1635.v24937.c2493.g.vm.akamaistream.net/7/1635/2493/v0001/premrad.download.akamai.com/2493/premiere_rock_report/Country_Report.wma
Patch by Zhentan Feng <spyfeng gmail com>.
Originally committed as revision 26047 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mms.h')
-rw-r--r-- | libavformat/mms.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mms.h b/libavformat/mms.h index 7ee0485204..31d71b4e24 100644 --- a/libavformat/mms.h +++ b/libavformat/mms.h @@ -39,7 +39,7 @@ typedef struct { /** Buffer for incoming packets. */ /*@{*/ - uint8_t in_buffer[8192]; ///< Buffer for incoming packets. + uint8_t in_buffer[65536]; ///< Buffer for incoming packets. uint8_t *read_in_ptr; ///< Pointer for reading from incoming buffer. int remaining_in_len; ///< Reading length from incoming buffer. /*@}*/ |