projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b318477
)
fixing raw yuv input
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 11 Sep 2002 17:04:04 +0000
(17:04 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 11 Sep 2002 17:04:04 +0000
(17:04 +0000)
Originally committed as revision 916 to svn://svn.ffmpeg.org/ffmpeg/trunk
libav/raw.c
patch
|
blob
|
history
diff --git
a/libav/raw.c
b/libav/raw.c
index
13c5721
..
96d011c
100644
(file)
--- a/
libav/raw.c
+++ b/
libav/raw.c
@@
-372,8
+372,12
@@
int rawvideo_read_packet(AVFormatContext *s,
return -EIO;
pkt->stream_index = 0;
+#if 0
/* bypass buffered I/O */
ret = url_read(url_fileno(&s->pb), pkt->data, pkt->size);
+#else
+ ret = get_buffer(&s->pb, pkt->data, pkt->size);
+#endif
if (ret != pkt->size) {
av_free_packet(pkt);
return -EIO;