projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
265c477
)
avdevice/fbdev_dec: use errno instead of ret for av_log
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 29 Oct 2014 20:44:19 +0000
(21:44 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 29 Oct 2014 20:44:19 +0000
(21:44 +0100)
Should fix printing the wrong value
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavdevice/fbdev_dec.c
patch
|
blob
|
history
diff --git
a/libavdevice/fbdev_dec.c
b/libavdevice/fbdev_dec.c
index
e21a0ab
..
f56408c
100644
(file)
--- a/
libavdevice/fbdev_dec.c
+++ b/
libavdevice/fbdev_dec.c
@@
-183,7
+183,7
@@
static int fbdev_read_packet(AVFormatContext *avctx, AVPacket *pkt)
/* refresh fbdev->varinfo, visible data position may change at each call */
if (ioctl(fbdev->fd, FBIOGET_VSCREENINFO, &fbdev->varinfo) < 0) {
av_log(avctx, AV_LOG_WARNING,
- "Error refreshing variable info: %s\n", av_err2str(
ret
));
+ "Error refreshing variable info: %s\n", av_err2str(
AVERROR(errno)
));
}
pkt->pts = curtime;