From 1c2dc1984a366f739b3b924cfe72f1c5fbdf7334 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sat, 1 Oct 2011 20:29:49 +0200 Subject: [PATCH] libtriple: bring cRecord::Open in line with CS code Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/24e9ee412fdbeae4442164bf76dd1718f8aeb5e4 Author: Stefan Seyfried Date: 2011-10-01 (Sat, 01 Oct 2011) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- lib/libtriple/record_td.cpp | 2 +- lib/libtriple/record_td.h | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/lib/libtriple/record_td.cpp b/lib/libtriple/record_td.cpp index 69ae5510b..b5261b9d8 100644 --- a/lib/libtriple/record_td.cpp +++ b/lib/libtriple/record_td.cpp @@ -44,7 +44,7 @@ cRecord::~cRecord() INFO("end\n"); } -bool cRecord::Open(int /*numpids*/) +bool cRecord::Open(void) { INFO("\n"); exit_flag = RECORD_STOPPED; diff --git a/lib/libtriple/record_td.h b/lib/libtriple/record_td.h index fc1261f98..0de722d50 100644 --- a/lib/libtriple/record_td.h +++ b/lib/libtriple/record_td.h @@ -25,16 +25,11 @@ class cRecord cRecord(int num = 0); ~cRecord(); - bool Open(int numpids); - bool Start(int fd, unsigned short vpid, unsigned short *apids, int numpids); + bool Open(); + bool Start(int fd, unsigned short vpid, unsigned short *apids, int numapids); bool Stop(void); bool ChangePids(unsigned short vpid, unsigned short *apids, int numapids); void RecordThread(); -#if 0 - /* apparently unused */ - void Close(void); - void RecordNotify(int Event, void *pData); -#endif }; #endif