From a97c0c317e641a46ede3a0f77085433f303f3e4a 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: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/776f4ba518a8467740bd269f5e5d7cbb89aa1010 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 --- libtriple/record_td.cpp | 2 +- libtriple/record_td.h | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/libtriple/record_td.cpp b/libtriple/record_td.cpp index 69ae551..b5261b9 100644 --- a/libtriple/record_td.cpp +++ b/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/libtriple/record_td.h b/libtriple/record_td.h index fc1261f..0de722d 100644 --- a/libtriple/record_td.h +++ b/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