diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-03-03 23:08:50 +0300 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-03-04 00:34:15 +0300 |
commit | ffc7ad9142fe69dcb9d67c16ad98477733815ebc (patch) | |
tree | 879da296aea1e63b172e8800c5f9ddf14d143c91 | |
parent | 8f0948bf2915ecb987d0399caf330c121e527704 (diff) |
hevc: ignore overreads in the VPS, its not used in the decoding processmpc-hc-1.7.8-4
This allows some old clips to play with an incomplete VPS
-rw-r--r-- | libavcodec/hevc_ps.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c index f41a7c7214..d94d6e0478 100644 --- a/libavcodec/hevc_ps.c +++ b/libavcodec/hevc_ps.c @@ -456,7 +456,6 @@ int ff_hevc_decode_nal_vps(HEVCContext *s) if (get_bits_left(gb) < 0) { av_log(s->avctx, AV_LOG_ERROR, "Overread VPS by %d bits\n", -get_bits_left(gb)); - goto err; } av_buffer_unref(&s->vps_list[vps_id]); |