Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2013-10-23 11:53:39 +0400
committerHendrik Leppkes <h.leppkes@gmail.com>2013-10-28 22:26:55 +0400
commitb4910fef557373a492bdac3c4774b06d2ca81366 (patch)
tree20b14ee18f4c8cd9032a261956e3cf44042d43f4
parent5c81c769de442259d0edddf04179652299fd92e7 (diff)
HACK: hevc: ignore invalid extradatampc-hc-1.7.1-5
-rw-r--r--libavcodec/hevc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c
index aaf319f522..4892c3ca21 100644
--- a/libavcodec/hevc.c
+++ b/libavcodec/hevc.c
@@ -2843,8 +2843,8 @@ static av_cold int hevc_decode_init(AVCodecContext *avctx)
if (avctx->extradata_size > 0 && avctx->extradata) {
ret = hevc_decode_extradata(s);
if (ret < 0) {
- hevc_decode_free(avctx);
- return ret;
+ s->is_nalff = 0;
+ av_log(avctx, AV_LOG_ERROR, "Invalid extradata ignored\n");
}
}