diff options
author | rtogni <rtogni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-03-25 19:00:39 +0000 |
---|---|---|
committer | rtogni <rtogni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-03-25 19:00:39 +0000 |
commit | dcc70f58498fa0be8f455c8ffa73126d45bcd532 (patch) | |
tree | f94f542c9d6ad071835c9ae49429eb1304ad278c /stream/realrtsp/rmff.h | |
parent | 7a370b589fb50a7e2a03416237d2f647891fbfe9 (diff) | |
download | mpv-dcc70f58498fa0be8f455c8ffa73126d45bcd532.tar.bz2 mpv-dcc70f58498fa0be8f455c8ffa73126d45bcd532.tar.xz |
Check buffer size in header dump functions
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22821 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/realrtsp/rmff.h')
-rw-r--r-- | stream/realrtsp/rmff.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/stream/realrtsp/rmff.h b/stream/realrtsp/rmff.h index 7ea75a04aa..3124645e32 100644 --- a/stream/realrtsp/rmff.h +++ b/stream/realrtsp/rmff.h @@ -49,6 +49,12 @@ #define RMFF_HEADER_SIZE 0x12 +#define RMFF_FILEHEADER_SIZE 18 +#define RMFF_PROPHEADER_SIZE 50 +#define RMFF_MDPRHEADER_SIZE 46 +#define RMFF_CONTHEADER_SIZE 18 +#define RMFF_DATAHEADER_SIZE 18 + #define FOURCC_TAG( ch0, ch1, ch2, ch3 ) \ (((long)(unsigned char)(ch3) ) | \ ( (long)(unsigned char)(ch2) << 8 ) | \ |