mirror of https://git.ffmpeg.org/ffmpeg.git
libavcodec/ansi: fix ECMA-48 SGR parameter 49
As can be seen in man console_codes this parameter sets the default background color Signed-off-by: Jonas Lindner <jolindner@gmx.de>
This commit is contained in:
parent
6a9d3f46c7
commit
886c1ffb5d
|
@ -330,7 +330,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
|
|||
s->bg = index < 16 ? ansi_to_cga[index] : index;
|
||||
i += 2;
|
||||
} else if (m == 49) {
|
||||
s->fg = ansi_to_cga[DEFAULT_BG_COLOR];
|
||||
s->bg = ansi_to_cga[DEFAULT_BG_COLOR];
|
||||
} else {
|
||||
avpriv_request_sample(avctx, "Unsupported rendition parameter");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue