diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-03-10 15:21:52 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-03-10 18:26:48 +0300 |
commit | 3bd624b4ee355328382295af411f5343b1329f43 (patch) | |
tree | 70327a46f621f213df55dd2406f54096f1232f51 /libavformat/aviobuf.c | |
parent | 9c55fe8f4c9c3965e47a8ed49ba5c99e54a3eb3b (diff) |
Fix url_feof() for file appendings.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/aviobuf.c')
-rw-r--r-- | libavformat/aviobuf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c index 7762d6cace..1bdc478ed9 100644 --- a/libavformat/aviobuf.c +++ b/libavformat/aviobuf.c @@ -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; } |