Changeset 7825383fb25cd7e6140c0284c2054c107102fe4d

Show
Ignore:
Timestamp:
08/18/05 17:58:05 (3 years ago)
Author:
Christophe Massiot <massiot@videolan.org>
git-committer:
Christophe Massiot <massiot@videolan.org> 1124380685 +0000
git-parent:

[2a03eac51aad903db94d8fa7a6463738194662f2]

git-author:
Christophe Massiot <massiot@videolan.org> 1124380685 +0000
Message:
  • modules/demux/demuxdump.c: Better error detection (disk full for instance).
Files:

Legend:

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

    rfe087a3 r7825383  
    174174    i_data = fwrite( p_sys->buffer, 1, i_data, p_sys->p_file ); 
    175175 
    176     if( i_data < 0 ) 
     176    if( i_data == 0 ) 
    177177    { 
    178178        msg_Err( p_demux, "failed to write data" );