Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
08235f81
Commit
08235f81
authored
Feb 13, 2008
by
Michael Matz
Committed by
Michael Matz
Feb 13, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.dg/pr35065.c: Fix testcase warnings.
From-SVN: r132288
parent
03870a04
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/pr35065.c
+6
-5
No files found.
gcc/testsuite/ChangeLog
View file @
08235f81
2008
-
02
-
13
Michael
Matz
<
matz
@suse
.
de
>
*
gcc
.
dg
/
pr35065
.
c
:
Fix
testcase
warnings
.
2008
-
02
-
13
Michael
Matz
<
matz
@suse
.
de
>
PR
debug
/
35065
*
gcc
.
dg
/
pr35065
.
c
:
New
testcase
.
gcc/testsuite/gcc.dg/pr35065.c
View file @
08235f81
...
...
@@ -14,6 +14,7 @@ typedef struct es_format_t es_format_t;
typedef
struct
decoder_t
decoder_t
;
typedef
struct
decoder_sys_t
decoder_sys_t
;
typedef
struct
block_t
block_t
;
extern
void
*
malloc
(
size_t
);
enum
vlc_module_properties
{
VLC_MODULE_CB_OPEN
,
VLC_MODULE_CB_CLOSE
,
VLC_MODULE_NAME
,
};
struct
es_format_t
{
...
...
@@ -30,7 +31,7 @@ struct block_t {
uint8_t
*
p_buffer
;
};
static
inline
block_t
*
block_Duplicate
(
block_t
*
p_block
)
{
block_t
*
p_dup
=
block_New
(
((
void
*
)
0
),
p_block
->
i_buffer
);
block_t
*
p_dup
=
(
block_t
*
)
block_New
(
((
void
*
)
0
),
p_block
->
i_buffer
);
p_dup
->
i_dts
=
p_block
->
i_dts
;
p_dup
->
i_pts
=
p_block
->
i_pts
;
}
...
...
@@ -89,7 +90,7 @@ static inline uint32_t bs_read1( bs_t *s ) {
return
0
;
}
int
Open
(
vlc_object_t
*
);
static
void
Close
(
vlc_object_t
*
);
void
Close
(
vlc_object_t
*
);
__attribute__
((
visibility
(
"default"
)))
int
vlc_entry__0_9_0f
(
module_t
*
p_module
)
{
{
module_t
*
p_submodule
=
p_module
;
...
...
@@ -135,7 +136,7 @@ int Open( vlc_object_t *p_this ) {
i
<
i_sps
;
i
++
)
{
int
i_length
=
U16_AT
(
p
);
block_t
*
p_sps
=
nal_get_annexeb
(
p_dec
,
p
+
2
,
i_length
);
block_t
*
p_sps
=
(
block_t
*
)
nal_get_annexeb
(
p_dec
,
p
+
2
,
i_length
);
ParseNALBlock
(
p_dec
,
p_sps
);
}
}
...
...
@@ -182,7 +183,7 @@ block_t *ParseNALBlock( decoder_t *p_dec, block_t *p_frag )
block_ChainAppend
(
&
p_sps
,
p_pps
);
block_ChainAppend
(
&
p_sps
,
p_sys
->
p_frame
);
p_sys
->
b_header
=
1
;
p_pic
=
block_ChainGather
(
p_sps
);
p_pic
=
(
block_t
*
)
block_ChainGather
(
p_sps
);
}
}
while
(
0
);
}
...
...
@@ -211,7 +212,7 @@ block_t *ParseNALBlock( decoder_t *p_dec, block_t *p_frag )
p_sps
->
i_pts
=
p_sys
->
p_frame
->
i_pts
;
block_ChainAppend
(
&
p_sps
,
p_pps
);
block_ChainAppend
(
&
p_sps
,
p_sys
->
p_frame
);
p_pic
=
block_ChainGather
(
p_sps
);
p_pic
=
(
block_t
*
)
block_ChainGather
(
p_sps
);
}
p_pic
->
i_flags
|=
p_sys
->
slice
.
i_frame_type
;
}
while
(
0
);
...
...
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