Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37765851
en ru br
ALT Linux repositórios
S:0.9.12-alt2
5.0: 0.9.5-alt1
4.1: 0.9.5-alt0.M41.1

Group :: Desenvolvimento/C
RPM: libunicap

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: libunicap-bz641623.patch
Download


diff --git a/cpi/v4l2cpi/v4l2.c b/cpi/v4l2cpi/v4l2.c
index a8e0c92..ec4c8db 100644
--- a/cpi/v4l2cpi/v4l2.c
+++ b/cpi/v4l2cpi/v4l2.c
@@ -1928,6 +1928,10 @@ static unicap_status_t v4l2_capture_start( void *cpi_data )
    }
    
    handle->buffer_mgr = buffer_mgr_create( handle->fd, &handle->current_format );
+   if( !handle->buffer_mgr )
+   {
+      return STATUS_FAILURE;
+   }
 
    handle->capture_running = 1;
 
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009