mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 09:57:32 +09:00
ffvpx: update ffmpeg to 3.4.9
This commit is contained in:
parent
c45d02ceb2
commit
9ab5fe7274
20 changed files with 137 additions and 75 deletions
|
|
@ -749,6 +749,11 @@ static int hls_slice_header(HEVCContext *s)
|
|||
if (s->ps.pps->pic_slice_level_chroma_qp_offsets_present_flag) {
|
||||
sh->slice_cb_qp_offset = get_se_golomb(gb);
|
||||
sh->slice_cr_qp_offset = get_se_golomb(gb);
|
||||
if (sh->slice_cb_qp_offset < -12 || sh->slice_cb_qp_offset > 12 ||
|
||||
sh->slice_cr_qp_offset < -12 || sh->slice_cr_qp_offset > 12) {
|
||||
av_log(s->avctx, AV_LOG_ERROR, "Invalid slice cx qp offset.\n");
|
||||
return AVERROR_INVALIDDATA;
|
||||
}
|
||||
} else {
|
||||
sh->slice_cb_qp_offset = 0;
|
||||
sh->slice_cr_qp_offset = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue