[MPlayer-cvslog] r37663 - trunk/stream/stream_pvr.c

reimar subversion at mplayerhq.hu
Wed Feb 10 23:07:06 CET 2016


Author: reimar
Date: Wed Feb 10 23:07:06 2016
New Revision: 37663

Log:
stream_pvr: Fix error check to actually work.

Previously the error check was actually
dead code.
Fixes Coverity issue.

Modified:
   trunk/stream/stream_pvr.c

Modified: trunk/stream/stream_pvr.c
==============================================================================
--- trunk/stream/stream_pvr.c	Wed Feb 10 23:01:21 2016	(r37662)
+++ trunk/stream/stream_pvr.c	Wed Feb 10 23:07:06 2016	(r37663)
@@ -1402,6 +1402,7 @@ v4l2_list_capabilities (struct pvr_t *pv
 
   /* list available norms */
   vs.index = 0;
+  err = 1;
   mp_msg (MSGT_OPEN, MSGL_INFO, "%s Available norms: ", LOG_LEVEL_V4L2);
   while (ioctl (pvr->dev_fd, VIDIOC_ENUMSTD, &vs) >= 0)
   {


More information about the MPlayer-cvslog mailing list