Changeset 4bf5e817d35569492c6c3ca068f277d0ae49702f

Show
Ignore:
Timestamp:
07/02/08 20:15:39 (2 months ago)
Author:
Rémi Duraffort <ivoire@videolan.org>
git-committer:
Rémi Duraffort <ivoire@videolan.org> 1215022539 +0200
git-parent:

[ea4acee144c17cca9df1e9c06e8562d616e43773]

git-author:
Rémi Duraffort <ivoire@videolan.org> 1214726740 +0200
Message:

Avoid segfault in subtitle demuxer.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/demux/subtitle.c

    r37a2578 r4bf5e81  
    254254    p_sys->i_type = SUB_TYPE_UNKNOWN; 
    255255    psz_type = var_CreateGetString( p_demux, "sub-type" ); 
    256     if( *psz_type ) 
     256    if( psz_type && *psz_type ) 
    257257    { 
    258258        int i;