History

avcodec/vaapi_encode: Simplify code with av_clip_int8()

Michael Niedermayer committed 7 years ago

Commit 9b57b901 parent 83e0b711 file · +1 −1Browse files

Showing the changes to libavcodec/vaapi_encode.c (1 of 1 file). Show all

Unified · Split

libavcodec/vaapi_encode.c+1−1
@@ -480,7 +480,7 @@ static int vaapi_encode_issue(AVCodecContext *avctx, · 479 unmodified lines
480480 .width = roi->right - roi->left,
481481 .height = roi->bottom - roi->top,
482482 },
483− .roi_value = av_clip_c(v, INT8_MIN, INT8_MAX),
483+ .roi_value = av_clip_int8(v),
484484 };
485485 }
486486

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t