mirror of
https://github.com/mpv-player/mpv
synced 2025-02-18 05:37:04 +00:00
tvi_v4l2: explicitly brace the code
It's fine either way, but this code is weirdly formatted. Make it more explicit.
This commit is contained in:
parent
00091411ec
commit
fa7beaad1f
@ -1005,7 +1005,10 @@ static int uninit(priv_t *priv)
|
||||
/* free memory and close device */
|
||||
free(priv->map); priv->map = NULL;
|
||||
priv->mapcount = 0;
|
||||
if(priv->video_fd!=-1)v4l2_close(priv->video_fd); priv->video_fd = -1;
|
||||
if(priv->video_fd!=-1) {
|
||||
v4l2_close(priv->video_fd);
|
||||
priv->video_fd = -1;
|
||||
}
|
||||
free(priv->video_dev); priv->video_dev = NULL;
|
||||
|
||||
if (priv->video_ringbuffer) {
|
||||
|
Loading…
Reference in New Issue
Block a user