Merge commit '043ea6f7bfc59399b6b3659da785ec4cc68a008e'
* commit '043ea6f7bfc59399b6b3659da785ec4cc68a008e': fbdev: Use av_strerror Conflicts: libavdevice/fbdev_dec.c See: f6b56b1f26a1e40a47d85d24b42cd5475cd3b04f Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
265c4771cc
@ -181,9 +181,10 @@ static int fbdev_read_packet(AVFormatContext *avctx, AVPacket *pkt)
|
||||
return ret;
|
||||
|
||||
/* refresh fbdev->varinfo, visible data position may change at each call */
|
||||
if (ioctl(fbdev->fd, FBIOGET_VSCREENINFO, &fbdev->varinfo) < 0)
|
||||
if (ioctl(fbdev->fd, FBIOGET_VSCREENINFO, &fbdev->varinfo) < 0) {
|
||||
av_log(avctx, AV_LOG_WARNING,
|
||||
"Error refreshing variable info: %s\n", av_err2str(ret));
|
||||
}
|
||||
|
||||
pkt->pts = curtime;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user