[dvblast-devel] Fix compilation under OS X.
Georgi Chorbadzhiyski
git at videolan.org
Tue Oct 29 23:02:37 CET 2013
dvblast | branch: master | Georgi Chorbadzhiyski <gf at unixsol.org> | Tue Oct 29 23:59:51 2013 +0200| [c51e6b63fe770cb460aa198c2416e1e698238248] | committer: Georgi Chorbadzhiyski
Fix compilation under OS X.
Under OS X dvb.c file is not compiled so i_dvr_buffer_size is defined
nowhere which results in linker failure.
> http://git.videolan.org/gitweb.cgi/dvblast.git/?a=commit;h=c51e6b63fe770cb460aa198c2416e1e698238248
---
dvblast.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dvblast.c b/dvblast.c
index 5a4fdc2..da2be3a 100644
--- a/dvblast.c
+++ b/dvblast.c
@@ -994,6 +994,7 @@ int main( int i_argc, char **pp_argv )
b_do_remap = true;
break;
}
+#ifdef HAVE_DVB_SUPPORT
case '2':
i_dvr_buffer_size = strtol( optarg, NULL, 0 );
if (!i_dvr_buffer_size)
@@ -1003,6 +1004,7 @@ int main( int i_argc, char **pp_argv )
i_dvr_buffer_size /= TS_SIZE;
i_dvr_buffer_size *= TS_SIZE;
break;
+#endif
case 'h':
default:
usage();
More information about the dvblast-devel
mailing list