OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b173f5c
)
avformat/dfa: use avio_feof()
author
Paul B Mahol
<onemda@gmail.com>
Sun, 24 Aug 2014 14:28:02 +0000
(14:28 +0000)
committer
Paul B Mahol
<onemda@gmail.com>
Sat, 30 Aug 2014 15:50:22 +0000
(15:50 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavformat/dfa.c
patch
|
blob
|
history
diff --git
a/libavformat/dfa.c
b/libavformat/dfa.c
index
dfa0590
..
450bc21
100644
(file)
--- a/
libavformat/dfa.c
+++ b/
libavformat/dfa.c
@@
-84,12
+84,12
@@
static int dfa_read_packet(AVFormatContext *s, AVPacket *pkt)
uint32_t frame_size;
int ret, first = 1;
- if (
pb->eof_reached
)
+ if (
avio_feof(pb)
)
return AVERROR_EOF;
if (av_get_packet(pb, pkt, 12) != 12)
return AVERROR(EIO);
- while (!
pb->eof_reached
) {
+ while (!
avio_feof(pb)
) {
if (!first) {
ret = av_append_packet(pb, pkt, 12);
if (ret < 0) {