mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
Both files are checked for EOF
This commit is contained in:
committed by
Erik de Castro Lopo
parent
b02e159352
commit
6455e47721
@@ -166,7 +166,7 @@ static FLAC__off_t get_diff_offset(AutoFILE &f1, AutoFILE &f2)
|
|||||||
{
|
{
|
||||||
FLAC__off_t off = 0;
|
FLAC__off_t off = 0;
|
||||||
while(1) {
|
while(1) {
|
||||||
if(feof((FILE*)f1) && feof((FILE*)f1)) {
|
if(feof((FILE*)f1) && feof((FILE*)f2)) {
|
||||||
fprintf(stderr, "ERROR: files are identical\n");
|
fprintf(stderr, "ERROR: files are identical\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user