summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-07-27 20:42:09 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-27 20:43:25 +0200
commit59b009411fcc8531d661a381bbd2608e36c20bd0 (patch)
tree30967bc87c1054b95f2e3837c285a6d3e9c08b93
parentc7074375724e85e889ddaff68d150c12a90b4300 (diff)
parent03eb55741427c6608f63972c105e565ca0ba4f15 (diff)
downloadffmpeg-59b009411fcc8531d661a381bbd2608e36c20bd0.tar.gz
Merge commit '03eb55741427c6608f63972c105e565ca0ba4f15'
* commit '03eb55741427c6608f63972c105e565ca0ba4f15': wmv2enc: Check memory allocation Conflicts: libavcodec/wmv2enc.c See: 6e8fe448154e1aa0928cb0d2e1aecb7255c751cc Merged-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavcodec/wmv2enc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/wmv2enc.c b/libavcodec/wmv2enc.c
index 0499f0a1ed..a6784eac57 100644
--- a/libavcodec/wmv2enc.c
+++ b/libavcodec/wmv2enc.c
@@ -65,6 +65,7 @@ static av_cold int wmv2_encode_init(AVCodecContext *avctx)
avctx->extradata = av_mallocz(avctx->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE);
if (!avctx->extradata)
return AVERROR(ENOMEM);
+
encode_ext_header(w);
return 0;