Skip to content

Commit

Permalink
Fix url_feof() for file appendings.
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
  • Loading branch information
michaelni committed Mar 10, 2011
1 parent 9c55fe8 commit 3bd624b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libavformat/aviobuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 3bd624b

Please sign in to comment.