1
0
Fork 0

HACK: hevc: ignore invalid extradata

This commit is contained in:
Hendrik Leppkes 2021-02-26 08:58:23 +01:00
parent 7da908791b
commit 17fb405223
Signed by: hendrik
GPG Key ID: 846079A4B0A7C1B5
1 changed files with 2 additions and 1 deletions

View File

@ -3654,7 +3654,8 @@ static av_cold int hevc_decode_init(AVCodecContext *avctx)
if (avctx->extradata_size > 0 && avctx->extradata) {
ret = hevc_decode_extradata(s, avctx->extradata, avctx->extradata_size, 1);
if (ret < 0) {
return ret;
s->is_nalff = 0;
av_log(avctx, AV_LOG_ERROR, "Invalid extradata ignored\n");
}
}