History

vulkan/rangecoder: minor cleanup

Lynne committed 1 year ago

Commit 36c6c661 parent d220fa61 file · +1 −5Browse files

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

Unified · Split

libavcodec/vulkan/rangecoder.comp+1−5
@@ -244,11 +244,7 @@ bool get_rac_direct(inout RangeCoder c, inout uint8_t state) · 243 unmodified lines
244244
245245 bool get_rac(inout RangeCoder c, uint64_t state)
246246 {
247− u8buf sb = u8buf(state);
248− uint8_t val = sb.v;
249− bool ret = get_rac_direct(c, val);
250− sb.v = val;
251− return ret;
247+ return get_rac_direct(c, u8buf(state).v);
252248 }
253249
254250 bool get_rac_equi(inout RangeCoder c)

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