提交 dca6b74b 编写于 作者: M Malcolm Priestley 提交者: Mauro Carvalho Chehab

[media] dvb-usb: don't return error if stream stop

Signed-off-by: NMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 c8b7ced3
......@@ -26,9 +26,10 @@ static int dvb_usb_ctrl_feed(struct dvb_demux_feed *dvbdmxfeed, int onoff)
if (adap->props.streaming_ctrl != NULL) {
ret = adap->props.streaming_ctrl(adap, 0);
err("error while stopping stream.");
if (ret < 0)
if (ret < 0) {
err("error while stopping stream.");
return ret;
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册