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:
-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");
}
}