mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
ansi: Fix use of uninitalized width/height warning.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
ed83f97235
commit
fd0b8d5986
@ -182,6 +182,8 @@ static int execute_code(AVCodecContext * avctx, int c)
|
||||
case 'l': //reset screen mode
|
||||
if (s->nb_args < 2)
|
||||
s->args[0] = DEFAULT_SCREEN_MODE;
|
||||
width = avctx->width;
|
||||
height = avctx->height;
|
||||
switch(s->args[0]) {
|
||||
case 0: case 1: case 4: case 5: case 13: case 19: //320x200 (25 rows)
|
||||
s->font = ff_cga_font;
|
||||
|
Loading…
Reference in New Issue
Block a user