[bTSstream-devel] [Git][videolan/bitstream][master] SCTE-104: add missing function

Massiot gitlab at videolan.org
Sat Aug 27 20:59:05 CEST 2016


Massiot pushed to branch master at videolan / bitstream


Commits:
67756eff by Christophe Massiot at 2016-08-27T20:58:46+02:00
SCTE-104: add missing function

- - - - -


1 changed file:

- scte/104.h


Changes:

=====================================
scte/104.h
=====================================
--- a/scte/104.h
+++ b/scte/104.h
@@ -27,7 +27,7 @@
 
 /*
  * Normative references:
- *  - SCTE 104 2004 (Automation to Compression Communications API)
+ *  - SCTE 104 2012 (Automation to Compression Communications API)
  */
 
 #ifndef __BITSTREAM_SCTE_104_H__
@@ -203,6 +203,11 @@ static inline uint16_t scte104o_get_data_length(const uint8_t *p)
     return (p[2] << 8) | p[3];
 }
 
+static inline uint8_t *scte104o_get_data(const uint8_t *p)
+{
+    return (uint8_t *)&p[4];
+}
+
 /*****************************************************************************
  * Multiple operation message
  *****************************************************************************/



View it on GitLab: https://code.videolan.org/videolan/bitstream/commit/67756eff2493173a15a88772837b6f1455b10f02
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/bitstream-devel/attachments/20160827/3a1a3063/attachment.html>


More information about the biTStream-devel mailing list