aboutsummaryrefslogtreecommitdiffstats
path: root/libswresample/x86/rematrix_init.c
diff options
context:
space:
mode:
authorJosh Brewster <josh.brewster@protonmail.com>2020-04-16 22:50:29 +0200
committerJosh de Kock <josh@itanimul.li>2020-04-29 12:01:14 +0100
commit79f001675a2bae16e243f30a3e7de9da6aeb3c2d (patch)
treef1474ef527f3438dc3ae67feeed897d413bbaa96 /libswresample/x86/rematrix_init.c
parent280383a8975bf04f7d05caf55fae75bbff71b347 (diff)
downloadffmpeg-79f001675a2bae16e243f30a3e7de9da6aeb3c2d.tar.gz
libavcodec/libx264: fix reference frame computation based on level
The current implementation allows passing levels to libavcodec as integers (such as "31" instead of "3.1"). However, in this case, the maximum reference frame value per level was ignored because libavcodec converted the string to 310 instead of 31. Since libx264 has correctly parsed the level to int (x4->params.i_level_idc), we should rely on this value instead of attempting to parse the level string on our own. Signed-off-by: Josh Brewster <josh.brewster@protonmail.com> Signed-off-by: Josh de Kock <josh@itanimul.li>
Diffstat (limited to 'libswresample/x86/rematrix_init.c')
0 files changed, 0 insertions, 0 deletions