Changeset 24657112e5f2532b48d25416b46eb2212b01f089

Show
Ignore:
Timestamp:
03/15/08 18:01:07 (6 months ago)
Author:
Richard Hosking <richard@hovis.net>
git-committer:
Richard Hosking <richard@hovis.net> 1205600467 +0000
git-parent:

[6b8e5d9bc6fcc4fe2284cbf37709d3b1317473dd]

git-author:
Richard Hosking <richard@hovis.net> 1205600128 +0000
Message:

Cosmetic - changed negative test.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/access/v4l2/v4l2.c

    r7d3cc85 r2465711  
    24552455    int i_format; 
    24562456    /* OSS */ 
    2457     char* psz_oss_device_name = strdup( ( !p_sys->psz_adev ) ? OSS_DEFAULT : p_sys->psz_adev ); 
     2457    char* psz_oss_device_name = strdup( p_sys->psz_adev ? p_sys->psz_adev : OSS_DEFAULT ); 
    24582458 
    24592459    if( (i_fd = open( psz_oss_device_name, O_RDONLY | O_NONBLOCK )) < 0 ) 
     
    28952895    int i_fd = 0; 
    28962896    int i_caps; 
    2897     char* psz_oss_device_name = strdup( ( !psz_device ) ? OSS_DEFAULT : psz_device ); 
     2897    char* psz_oss_device_name = strdup( psz_device ? psz_device : OSS_DEFAULT ); 
    28982898 
    28992899    if( ( i_fd = open( psz_oss_device_name, O_RDONLY | O_NONBLOCK ) ) < 0 )