Commit 8aa6ffd8 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'cc41167a'

* commit 'cc41167a':
  asfdec: Check the return value of asf_read_stream_properties
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 3841e451 cc41167a
......@@ -754,7 +754,9 @@ static int asf_read_header(AVFormatContext *s)
if (ret < 0)
return ret;
} else if (!ff_guidcmp(&g, &ff_asf_stream_header)) {
asf_read_stream_properties(s, gsize);
int ret = asf_read_stream_properties(s, gsize);
if (ret < 0)
return ret;
} else if (!ff_guidcmp(&g, &ff_asf_comment_header)) {
asf_read_content_desc(s, gsize);
} else if (!ff_guidcmp(&g, &ff_asf_language_guid)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment