Commit 56b7cbf1 authored by Johan Bilien's avatar Johan Bilien

* modules/access/vcd/vcd.*: fixed a warning

parent 6f207562
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* vcd.c : VCD input module for vlc * vcd.c : VCD input module for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2000 VideoLAN * Copyright (C) 2000 VideoLAN
* $Id: vcd.c,v 1.14 2003/02/12 16:58:11 jobi Exp $ * $Id: vcd.c,v 1.15 2003/02/12 17:13:33 jobi Exp $
* *
* Author: Johan Bilien <jobi@via.ecp.fr> * Author: Johan Bilien <jobi@via.ecp.fr>
* *
...@@ -522,7 +522,7 @@ static int VCDEntryPoints( input_thread_t * p_input ) ...@@ -522,7 +522,7 @@ static int VCDEntryPoints( input_thread_t * p_input )
p_vcd->i_entries_nb = 0; p_vcd->i_entries_nb = 0;
#define i_track BCD_TO_BIN( entries.entry[i].i_track ) #define i_track BCD_TO_BIN(entries.entry[i].i_track)
for( i = 0 ; i < i_nb ; i++ ) for( i = 0 ; i < i_nb ; i++ )
{ {
if( i_track <= p_input->stream.i_area_nb ) if( i_track <= p_input->stream.i_area_nb )
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* vcd.h: thread structure of the VCD plugin * vcd.h: thread structure of the VCD plugin
***************************************************************************** *****************************************************************************
* Copyright (C) 1999-2001 VideoLAN * Copyright (C) 1999-2001 VideoLAN
* $Id: vcd.h,v 1.3 2002/11/06 15:41:29 jobi Exp $ * $Id: vcd.h,v 1.4 2003/02/12 17:13:33 jobi Exp $
* *
* Author: Johan Bilien <jobi@via.ecp.fr> * Author: Johan Bilien <jobi@via.ecp.fr>
* *
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
#define MSF_TO_LBA2(min, sec, frame) ((int)frame + 75 * (sec -2 + 60 * min)) #define MSF_TO_LBA2(min, sec, frame) ((int)frame + 75 * (sec -2 + 60 * min))
/* Converts BCD to Binary data */ /* Converts BCD to Binary data */
#define BCD_TO_BIN(i) \ #define BCD_TO_BIN(i) \
((uint8_t)(0xf & (uint8_t)i)+((uint8_t)10*((uint8_t)i >> 4))) (uint8_t)((uint8_t)(0xf & (uint8_t)i)+((uint8_t)10*((uint8_t)i >> 4)))
#ifndef VCDDEV_T #ifndef VCDDEV_T
typedef struct vcddev_s vcddev_t; typedef struct vcddev_s vcddev_t;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment