Showing the changes to libavcodec/vaapi_encode.c (1 of 1 file). Show all
Unified · Split
| @@ -480,7 +480,7 @@ static int vaapi_encode_issue(AVCodecContext *avctx, · 479 unmodified lines | ||
| 480 | 480 | .width = roi->right - roi->left, |
| 481 | 481 | .height = roi->bottom - roi->top, |
| 482 | 482 | }, |
| 483 | − .roi_value = av_clip_c(v, INT8_MIN, INT8_MAX), | |
| 483 | + .roi_value = av_clip_int8(v), | |
| 484 | 484 | }; |
| 485 | 485 | } |
| 486 | 486 | |