Commit 4930e529 authored by Lukasz Marek's avatar Lukasz Marek Committed by Michael Niedermayer

lavd/fbdev_enc: fix not closed handles

Fixes CID 1206651
Signed-off-by: 's avatarLukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b3c0d010
...@@ -226,7 +226,8 @@ static int fbdev_get_device_list(AVFormatContext *s, AVDeviceInfoList *device_li ...@@ -226,7 +226,8 @@ static int fbdev_get_device_list(AVFormatContext *s, AVDeviceInfoList *device_li
device_list->default_device = device_list->nb_devices - 1; device_list->default_device = device_list->nb_devices - 1;
default_device = NULL; default_device = NULL;
} }
close(fd);
fd = -1;
continue; continue;
fail_device: fail_device:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment