Tune down the seek errors on frame scanning

This commit is contained in:
Ron Pedde 2005-01-12 04:04:00 +00:00
parent defcc6a614
commit 1b38b66340
1 changed files with 1 additions and 1 deletions

View File

@ -1466,7 +1466,7 @@ void scan_get_frame_count(FILE *infile, SCAN_FRAMEINFO *pfi) {
while(1) { while(1) {
err=1; err=1;
DPRINTF(E_DBG,L_SCAN,"Seeking to %d\n",pos); DPRINTF(E_SPAM,L_SCAN,"Seeking to %d\n",pos);
fseek(infile,pos,SEEK_SET); fseek(infile,pos,SEEK_SET);
if(fread(frame_buffer,1,sizeof(frame_buffer),infile) == sizeof(frame_buffer)) { if(fread(frame_buffer,1,sizeof(frame_buffer),infile) == sizeof(frame_buffer)) {