OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c55fe8
)
Fix url_feof() for file appendings.
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 10 Mar 2011 12:21:52 +0000
(13:21 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 10 Mar 2011 15:26:48 +0000
(16:26 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/aviobuf.c
patch
|
blob
|
history
diff --git
a/libavformat/aviobuf.c
b/libavformat/aviobuf.c
index
7762d6c
..
1bdc478
100644
(file)
--- 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;
}