Fix url_feof() for file appendings.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -269,6 +269,10 @@ int url_feof(AVIOContext *s)
|
||||
{
|
||||
if(!s)
|
||||
return 0;
|
||||
if(s->eof_reached){
|
||||
s->eof_reached=0;
|
||||
fill_buffer(s);
|
||||
}
|
||||
return s->eof_reached;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user