1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

lavd/fbdev_enc: fix not closed handles

Fixes CID 1206651

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Lukasz Marek 2014-04-27 16:21:54 +02:00 committed by Michael Niedermayer
parent b3c0d010c3
commit 4930e529bf

View File

@ -226,7 +226,8 @@ static int fbdev_get_device_list(AVFormatContext *s, AVDeviceInfoList *device_li
device_list->default_device = device_list->nb_devices - 1;
default_device = NULL;
}
close(fd);
fd = -1;
continue;
fail_device: