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:
c0b1bc8
)
Revert "jvdec: don't use deprecated url_feof()"
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 17 Mar 2011 16:02:54 +0000
(17:02 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 17 Mar 2011 16:26:45 +0000
(17:26 +0100)
This reverts commit
1dac4d554734b16757b36a0adc71642c5ef2c4e6
.
libavformat/jvdec.c
patch
|
blob
|
history
diff --git
a/libavformat/jvdec.c
b/libavformat/jvdec.c
index
175cd9f
..
9235e51
100644
(file)
--- a/
libavformat/jvdec.c
+++ b/
libavformat/jvdec.c
@@
-139,7
+139,7
@@
static int read_packet(AVFormatContext *s, AVPacket *pkt)
AVIOContext *pb = s->pb;
AVStream *ast = s->streams[0];
- while (!
s->pb->eof_reached
&& jv->pts < ast->nb_index_entries) {
+ while (!
url_feof(s->pb)
&& jv->pts < ast->nb_index_entries) {
const AVIndexEntry *e = ast->index_entries + jv->pts;
const JVFrame *jvf = jv->frames + jv->pts;