• Stefano Sabatini's avatar
    lavd/caca: create display *after* checking dither options · c0b91348
    Stefano Sabatini authored
    Avoid fastidious creation and immediate destroy of the display in case
    one of the dither options fails to be set.
    
    Also add NULL checks in write_trailer(), which are now necessary since
    the function can be called when not all the components have been
    initialized.
    c0b91348
caca.c 8.9 KB