Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libdvbpsi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
libdvbpsi
Commits
8ab35810
Commit
8ab35810
authored
May 30, 2012
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATSC descriptors: fix compilation
parent
4f3cfef2
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
60 additions
and
19 deletions
+60
-19
src/descriptors/dr_13.c
src/descriptors/dr_13.c
+10
-4
src/descriptors/dr_14.c
src/descriptors/dr_14.c
+9
-3
src/descriptors/dr_62.c
src/descriptors/dr_62.c
+8
-3
src/descriptors/dr_66.c
src/descriptors/dr_66.c
+9
-3
src/descriptors/dr_73.c
src/descriptors/dr_73.c
+8
-2
src/descriptors/dr_76.c
src/descriptors/dr_76.c
+8
-2
src/descriptors/dr_83.c
src/descriptors/dr_83.c
+8
-2
No files found.
src/descriptors/dr_13.c
View file @
8ab35810
/*
/*
Copyright (C) 2010 Adam Charrett
Copyright (C) 2010
-2012
Adam Charrett
This library is free software; you can redistribute it and/or
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
modify it under the terms of the GNU Lesser General Public
...
@@ -24,12 +24,18 @@ Decode Carousel Id Descriptor.
...
@@ -24,12 +24,18 @@ Decode Carousel Id Descriptor.
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <string.h>
#if defined(HAVE_INTTYPES_H)
#include <inttypes.h>
#elif defined(HAVE_STDINT_H)
#include <stdint.h>
#include <stdint.h>
#endif
#include "dvbpsi.h"
#include "
../
dvbpsi.h"
#include "../dvbpsi_private.h"
#include "../dvbpsi_private.h"
#include "descriptor.h"
#include "
../
descriptor.h"
#include "dr_13.h"
#include "dr_13.h"
...
@@ -42,7 +48,7 @@ static dvbpsi_carousel_id_dr_t *NewCarouselDr(const size_t i_private)
...
@@ -42,7 +48,7 @@ static dvbpsi_carousel_id_dr_t *NewCarouselDr(const size_t i_private)
calloc
(
1
,
sizeof
(
dvbpsi_carousel_id_dr_t
)
+
i_private
);
calloc
(
1
,
sizeof
(
dvbpsi_carousel_id_dr_t
)
+
i_private
);
if
(
p_carousel
)
if
(
p_carousel
)
{
{
p_carousel
->
p_private_data
=
p_carousel
+
sizeof
(
dvbpsi_carousel_id_dr_t
);
p_carousel
->
p_private_data
=
((
uint8_t
*
)
p_carousel
+
sizeof
(
dvbpsi_carousel_id_dr_t
)
);
p_carousel
->
i_private_data_len
=
i_private
;
p_carousel
->
i_private_data_len
=
i_private
;
}
}
return
p_carousel
;
return
p_carousel
;
...
...
src/descriptors/dr_14.c
View file @
8ab35810
...
@@ -24,12 +24,18 @@ Decode Assocation Tag Descriptor.
...
@@ -24,12 +24,18 @@ Decode Assocation Tag Descriptor.
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <string.h>
#if defined(HAVE_INTTYPES_H)
#include <inttypes.h>
#elif defined(HAVE_STDINT_H)
#include <stdint.h>
#include <stdint.h>
#endif
#include "dvbpsi.h"
#include "
../
dvbpsi.h"
#include "../dvbpsi_private.h"
#include "../dvbpsi_private.h"
#include "descriptor.h"
#include "
../
descriptor.h"
#include "dr_14.h"
#include "dr_14.h"
...
@@ -44,7 +50,7 @@ static dvbpsi_association_tag_dr_t *NewAssociationTagDr(const size_t i_selector,
...
@@ -44,7 +50,7 @@ static dvbpsi_association_tag_dr_t *NewAssociationTagDr(const size_t i_selector,
p_tag
=
(
dvbpsi_association_tag_dr_t
*
)
calloc
(
1
,
i_size
);
p_tag
=
(
dvbpsi_association_tag_dr_t
*
)
calloc
(
1
,
i_size
);
if
(
p_tag
)
if
(
p_tag
)
{
{
p_tag
->
p_selector
=
p_tag
+
sizeof
(
dvbpsi_association_tag_dr_t
);
p_tag
->
p_selector
=
((
uint8_t
*
)
p_tag
+
sizeof
(
dvbpsi_association_tag_dr_t
)
);
p_tag
->
i_selector_len
=
i_selector
;
p_tag
->
i_selector_len
=
i_selector
;
p_tag
->
p_private_data
=
p_tag
->
p_selector
+
i_selector
;
p_tag
->
p_private_data
=
p_tag
->
p_selector
+
i_selector
;
...
...
src/descriptors/dr_62.c
View file @
8ab35810
...
@@ -24,16 +24,21 @@ Decode Frequency List Descriptor.
...
@@ -24,16 +24,21 @@ Decode Frequency List Descriptor.
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <string.h>
#if defined(HAVE_INTTYPES_H)
#include <inttypes.h>
#elif defined(HAVE_STDINT_H)
#include <stdint.h>
#include <stdint.h>
#endif
#include "dvbpsi.h"
#include "
../
dvbpsi.h"
#include "../dvbpsi_private.h"
#include "../dvbpsi_private.h"
#include "descriptor.h"
#include "
../
descriptor.h"
#include "dr_62.h"
#include "dr_62.h"
/*****************************************************************************
/*****************************************************************************
* dvbpsi_DecodeFrequencyListDr
* dvbpsi_DecodeFrequencyListDr
*****************************************************************************/
*****************************************************************************/
...
...
src/descriptors/dr_66.c
View file @
8ab35810
...
@@ -24,12 +24,18 @@ Decode Data Broadcast Id Descriptor.
...
@@ -24,12 +24,18 @@ Decode Data Broadcast Id Descriptor.
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <string.h>
#if defined(HAVE_INTTYPES_H)
#include <inttypes.h>
#elif defined(HAVE_STDINT_H)
#include <stdint.h>
#include <stdint.h>
#endif
#include "dvbpsi.h"
#include "
../
dvbpsi.h"
#include "../dvbpsi_private.h"
#include "../dvbpsi_private.h"
#include "descriptor.h"
#include "
../
descriptor.h"
#include "dr_66.h"
#include "dr_66.h"
...
@@ -44,7 +50,7 @@ static dvbpsi_data_broadcast_id_dr_t *NewDataBroadcastDr(const size_t i_private)
...
@@ -44,7 +50,7 @@ static dvbpsi_data_broadcast_id_dr_t *NewDataBroadcastDr(const size_t i_private)
calloc
(
1
,
sizeof
(
dvbpsi_data_broadcast_id_dr_t
)
+
i_private
);
calloc
(
1
,
sizeof
(
dvbpsi_data_broadcast_id_dr_t
)
+
i_private
);
if
(
p_bcast
)
if
(
p_bcast
)
{
{
p_bcast
->
p_id_selector
=
p_bcast
+
sizeof
(
dvbpsi_data_broadcast_id_dr_t
);
p_bcast
->
p_id_selector
=
((
uint8_t
*
)
p_bcast
+
sizeof
(
dvbpsi_data_broadcast_id_dr_t
)
);
p_bcast
->
i_id_selector_len
=
i_private
;
p_bcast
->
i_id_selector_len
=
i_private
;
}
}
return
p_bcast
;
return
p_bcast
;
...
...
src/descriptors/dr_73.c
View file @
8ab35810
...
@@ -24,12 +24,18 @@ Decode Default Authority Descriptor.
...
@@ -24,12 +24,18 @@ Decode Default Authority Descriptor.
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <string.h>
#if defined(HAVE_INTTYPES_H)
#include <inttypes.h>
#elif defined(HAVE_STDINT_H)
#include <stdint.h>
#include <stdint.h>
#endif
#include "dvbpsi.h"
#include "
../
dvbpsi.h"
#include "../dvbpsi_private.h"
#include "../dvbpsi_private.h"
#include "descriptor.h"
#include "
../
descriptor.h"
#include "dr_73.h"
#include "dr_73.h"
...
...
src/descriptors/dr_76.c
View file @
8ab35810
...
@@ -24,12 +24,18 @@ Decode Content Identifier Descriptor.
...
@@ -24,12 +24,18 @@ Decode Content Identifier Descriptor.
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <string.h>
#if defined(HAVE_INTTYPES_H)
#include <inttypes.h>
#elif defined(HAVE_STDINT_H)
#include <stdint.h>
#include <stdint.h>
#endif
#include "dvbpsi.h"
#include "
../
dvbpsi.h"
#include "../dvbpsi_private.h"
#include "../dvbpsi_private.h"
#include "descriptor.h"
#include "
../
descriptor.h"
#include "dr_76.h"
#include "dr_76.h"
...
...
src/descriptors/dr_83.c
View file @
8ab35810
...
@@ -24,12 +24,18 @@ Decode Logical Channel Number Descriptor.
...
@@ -24,12 +24,18 @@ Decode Logical Channel Number Descriptor.
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <string.h>
#if defined(HAVE_INTTYPES_H)
#include <inttypes.h>
#elif defined(HAVE_STDINT_H)
#include <stdint.h>
#include <stdint.h>
#endif
#include "dvbpsi.h"
#include "
../
dvbpsi.h"
#include "../dvbpsi_private.h"
#include "../dvbpsi_private.h"
#include "descriptor.h"
#include "
../
descriptor.h"
#include "dr_83.h"
#include "dr_83.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment