MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / fbdev_read_close

Function fbdev_read_close

libavdevice/fbdev_dec.c:206–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206static av_cold int fbdev_read_close(AVFormatContext *avctx)
207{
208 FBDevContext *fbdev = avctx->priv_data;
209
210 munmap(fbdev->data, fbdev->fixinfo.smem_len);
211 close(fbdev->fd);
212
213 return 0;
214}
215
216static int fbdev_get_device_list(AVFormatContext *s, AVDeviceInfoList *device_list)
217{

Callers

nothing calls this directly

Calls 1

closeFunction · 0.85

Tested by

no test coverage detected