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-25 19:06:46 +0400
commit0c1f5e8003ee486f86d59841b230da2c844d7a52 (patch)
tree948b11a7983371db4e6b7e3bd80d16f78f76c19e
parent20f355077ea37e36a083f97804bcf348637a5dc6 (diff)
HACK: hevc: ignore invalid extradatampc-hc-1.7.1-4
-rw-r--r--libavcodec/hevc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c
index 4ea26bf825..1888c9a2a5 100644
--- a/libavcodec/hevc.c
+++ b/libavcodec/hevc.c
@@ -2808,8 +2808,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");
}
}