[MPlayer-dev-eng] [PATCH] Fix tvi_bsdbt848.c compille on BSD

Diego Biurrun diego at biurrun.de
Mon Aug 13 19:42:13 CEST 2007


On Sun, Aug 12, 2007 at 07:40:46PM +0200, Bernd Ernesti wrote:
> 
> see attached patch to fix this:
> 
> tvi_bsdbt848.c: In function 'tvi_init_bsdbt848':
> tvi_bsdbt848.c:205: error: 'tv_param_t' has no member named 'adevice'
> tvi_bsdbt848.c:212: error: 'tv_param_t' has no member named 'adevice'
> 
> and a second one to remove these warnings:
> 
> tvi_bsdbt848.c: In function 'grabimmediate_video_frame':
> tvi_bsdbt848.c:726: warning: unused variable 'curtime'
> tvi_bsdbt848.c: In function 'grab_video_frame':
> tvi_bsdbt848.c:749: warning: unused variable 'curtime'
> tvi_bsdbt848.c: In function 'grab_audio_frame':
> tvi_bsdbt848.c:788: warning: unused variable 'bytesavail'
> 
> where there is still one warning left because it is only used by v4l*:
> 
> tvi_def.h:50: warning: 'free_handle' defined but not used

Both patches applied, thanks.

Diego



More information about the MPlayer-dev-eng mailing list