projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95010d1
)
mpc8: Fix return value on EOF
author
Laurent Aimar
<fenrir@videolan.org>
Sun, 25 Sep 2011 20:06:19 +0000
(20:06 +0000)
committer
Janne Grunau
<janne-libav@jannau.net>
Fri, 7 Oct 2011 14:25:30 +0000
(16:25 +0200)
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
libavformat/mpc8.c
patch
|
blob
|
history
diff --git
a/libavformat/mpc8.c
b/libavformat/mpc8.c
index
d7a7d6a
..
2634ee3
100644
(file)
--- a/
libavformat/mpc8.c
+++ b/
libavformat/mpc8.c
@@
-264,7
+264,7
@@
static int mpc8_read_packet(AVFormatContext *s, AVPacket *pkt)
return AVERROR(EIO);
mpc8_handle_chunk(s, tag, pos, size);
}
- return
0
;
+ return
AVERROR_EOF
;
}
static int mpc8_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)