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:
b3e4d26
)
Forward error code when reading a v4l2 frame
author
Benoit Fouet
<benoit.fouet@purplelabs.com>
Thu, 13 Sep 2007 12:46:30 +0000
(12:46 +0000)
committer
Luca Abeni
<lucabe72@email.it>
Thu, 13 Sep 2007 12:46:30 +0000
(12:46 +0000)
Patch by Benoit Fouet (benoit.fouet AT purplelabs DOT com)
Originally committed as revision 10487 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/v4l2.c
patch
|
blob
|
history
diff --git
a/libavformat/v4l2.c
b/libavformat/v4l2.c
index
99b7687
..
d385d57
100644
(file)
--- a/
libavformat/v4l2.c
+++ b/
libavformat/v4l2.c
@@
-608,7
+608,7
@@
static int v4l2_read_packet(AVFormatContext *s1, AVPacket *pkt)
return AVERROR(EIO);
}
if (res < 0) {
- return
AVERROR(EIO)
;
+ return
res
;
}
if (s1->streams[0]->codec->coded_frame) {