History

avcodec/magicyuv: change bits used by 12bit tables

Higher number slows decoder.

Paul B Mahol committed 6 years ago

Commit 57915df1 parent 276d86a1 file · +1 −1Browse files

Unified · Split

libavcodec/magicyuv.c+1−1
@@ -152,7 +152,7 @@ static int huff_build12(VLC *vlc, uint8_t *len) · 151 unmodified lines
152 }152 }
153 153
154 ff_free_vlc(vlc);154 ff_free_vlc(vlc);
155 return ff_init_vlc_sparse(vlc, FFMIN(he[4095].len, 14), 4096,155 return ff_init_vlc_sparse(vlc, FFMIN(he[4095].len, 12), 4096,
156 bits, sizeof(*bits), sizeof(*bits),156 bits, sizeof(*bits), sizeof(*bits),
157 codes, sizeof(*codes), sizeof(*codes),157 codes, sizeof(*codes), sizeof(*codes),
158 syms, sizeof(*syms), sizeof(*syms), 0);158 syms, sizeof(*syms), sizeof(*syms), 0);

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