Commit 2f85ce30 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

vdr: clarify

parent d85fae56
...@@ -892,7 +892,7 @@ static bool ReadIndexRecord( FILE *p_file, bool b_ts, int64_t i_frame, ...@@ -892,7 +892,7 @@ static bool ReadIndexRecord( FILE *p_file, bool b_ts, int64_t i_frame,
uint8_t index_record[8]; uint8_t index_record[8];
if( fseek( p_file, sizeof(index_record) * i_frame, SEEK_SET ) != 0 ) if( fseek( p_file, sizeof(index_record) * i_frame, SEEK_SET ) != 0 )
return false; return false;
if( fread( &index_record, sizeof(index_record), 1, p_file ) <= 0 ) if( fread( &index_record, sizeof(index_record), 1, p_file ) < 1 )
return false; return false;
/* VDR usually (only?) runs on little endian machines, but VLC has a /* VDR usually (only?) runs on little endian machines, but VLC has a
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment