summaryrefslogtreecommitdiff
path: root/src/input/libreal
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2010-03-07 17:31:35 +0000
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2010-03-07 17:31:35 +0000
commit1df1992a4b5b23cabb2851fe902b214f6ceb9381 (patch)
treee644ddc4fdfd741c57a2dd098691e260ffc86c99 /src/input/libreal
parent755a021dd10786f564fba86be431f04017348128 (diff)
parent82083a26798febc8184717d4b6a3eda94fb48925 (diff)
downloadxine-lib-1df1992a4b5b23cabb2851fe902b214f6ceb9381.tar.gz
xine-lib-1df1992a4b5b23cabb2851fe902b214f6ceb9381.tar.bz2
Merge from 1.1.
Diffstat (limited to 'src/input/libreal')
-rw-r--r--src/input/libreal/rmff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/libreal/rmff.c b/src/input/libreal/rmff.c
index f330e4844..5690eb14b 100644
--- a/src/input/libreal/rmff.c
+++ b/src/input/libreal/rmff.c
@@ -371,7 +371,7 @@ static rmff_mdpr_t *rmff_scan_mdpr(const char *data)
goto fail;
mdpr->type_specific_len=_X_BE_32(&data[42+mdpr->stream_name_size+mdpr->mime_type_size]);
- if (mdpr->size < 46 + mdpr->stream_name_size + mdpr->mime_type_size + mdpr->type_specific_data)
+ if (mdpr->size < 46 + mdpr->stream_name_size + mdpr->mime_type_size + mdpr->type_specific_len)
goto fail;
mdpr->type_specific_data = xine_memdup(&data[46+mdpr->stream_name_size+mdpr->mime_type_size], mdpr->type_specific_len);
if (!mdpr->type_specific_data)