diff -Naur ffmpeg-orig/libavcodec/hevc_ps.c ffmpeg/libavcodec/hevc_ps.c
|
old
|
new
|
|
| 760 | 760 | ret = AVERROR_INVALIDDATA; |
| 761 | 761 | goto err; |
| 762 | 762 | } |
| 763 | | if (sps->temporal_layer[i].num_reorder_pics > sps->temporal_layer[i].max_dec_pic_buffering - 1) { |
| | 763 | if (sps->temporal_layer[i].num_reorder_pics > sps->temporal_layer[i].max_dec_pic_buffering) { |
| 764 | 764 | av_log(s->avctx, AV_LOG_ERROR, "sps_max_num_reorder_pics out of range: %d\n", |
| 765 | 765 | sps->temporal_layer[i].num_reorder_pics); |
| 766 | 766 | ret = AVERROR_INVALIDDATA; |