mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Removed TsGetContinuityCounter() from remux.h, using TsContinuityCounter() instead
This commit is contained in:
9
remux.h
9
remux.h
@@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: remux.h 4.4 2017/04/29 11:56:21 kls Exp $
|
||||
* $Id: remux.h 4.5 2017/05/21 09:44:52 kls Exp $
|
||||
*/
|
||||
|
||||
#ifndef __REMUX_H
|
||||
@@ -95,7 +95,7 @@ inline bool TsIsScrambled(const uchar *p)
|
||||
return p[3] & TS_SCRAMBLING_CONTROL;
|
||||
}
|
||||
|
||||
inline uchar TsGetContinuityCounter(const uchar *p)
|
||||
inline uchar TsContinuityCounter(const uchar *p)
|
||||
{
|
||||
return p[3] & TS_CONT_CNT_MASK;
|
||||
}
|
||||
@@ -121,11 +121,6 @@ inline int TsGetPayload(const uchar **p)
|
||||
return 0;
|
||||
}
|
||||
|
||||
inline int TsContinuityCounter(const uchar *p)
|
||||
{
|
||||
return p[3] & TS_CONT_CNT_MASK;
|
||||
}
|
||||
|
||||
inline int64_t TsGetPcr(const uchar *p)
|
||||
{
|
||||
if (TsHasAdaptationField(p)) {
|
||||
|
||||
Reference in New Issue
Block a user