Commit d28a8ad8 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'f054e309'

* commit 'f054e309':
  qdm2: use init_static_data
  westwood_vqa: do not free extradata on error in read_header

Conflicts:
	libavformat/westwood_vqa.c
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents b5a87dc1 f054e309
This diff is collapsed.
......@@ -108,7 +108,6 @@ static int wsvqa_read_header(AVFormatContext *s)
header = (unsigned char *)st->codec->extradata;
if (avio_read(pb, st->codec->extradata, VQA_HEADER_SIZE) !=
VQA_HEADER_SIZE) {
av_free(st->codec->extradata);
return AVERROR(EIO);
}
st->codec->width = AV_RL16(&header[6]);
......
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