aboutsummaryrefslogtreecommitdiffhomepage
path: root/stream
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2014-11-21 09:59:58 +0100
committerGravatar wm4 <wm4@nowhere>2014-11-21 09:59:58 +0100
commit86b521f7dfac8aa6a8edf030ce8fe987fb13a104 (patch)
tree6f1465728ddae55cf71d89c699b2aaf4d6cc3f6b /stream
parente082c2c3dfced1cd20d7c1cb7ee7a661dffc8686 (diff)
Silence some Coverity warnings
None of this really matters.
Diffstat (limited to 'stream')
-rw-r--r--stream/stream_pvr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/stream_pvr.c b/stream/stream_pvr.c
index 6fa0b93926..50a8ee5cba 100644
--- a/stream/stream_pvr.c
+++ b/stream/stream_pvr.c
@@ -1573,6 +1573,7 @@ pvr_stream_open (stream_t *stream)
if (ioctl (pvr->dev_fd, VIDIOC_G_EXT_CTRLS, &ctrls) < 0)
{
MP_ERR(pvr, "%s device do not support MPEG input.\n", LOG_LEVEL_ENCODER);
+ pvr_uninit (pvr);
return STREAM_ERROR;
}