aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-03-10 13:21:52 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-03-10 16:26:48 +0100
commit3bd624b4ee355328382295af411f5343b1329f43 (patch)
tree70327a46f621f213df55dd2406f54096f1232f51
parent9c55fe8f4c9c3965e47a8ed49ba5c99e54a3eb3b (diff)
downloadffmpeg-3bd624b4ee355328382295af411f5343b1329f43.tar.gz
Fix url_feof() for file appendings.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/aviobuf.c4
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;
}