Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
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
Linshizhi
ffmpeg.wasm-core
Commits
d4bba93f
Commit
d4bba93f
authored
Aug 28, 2012
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sdp: Use static const char arrays instead of pointers to strings
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
bcc45d63
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sdp.c
libavformat/sdp.c
+2
-2
No files found.
libavformat/sdp.c
View file @
d4bba93f
...
...
@@ -154,8 +154,8 @@ static char *extradata2psets(AVCodecContext *c)
{
char
*
psets
,
*
p
;
const
uint8_t
*
r
;
const
char
*
pset_string
=
"; sprop-parameter-sets="
;
const
char
*
profile_string
=
"; profile-level-id="
;
static
const
char
pset_string
[]
=
"; sprop-parameter-sets="
;
static
const
char
profile_string
[]
=
"; profile-level-id="
;
uint8_t
*
orig_extradata
=
NULL
;
int
orig_extradata_size
=
0
;
const
uint8_t
*
sps
=
NULL
,
*
sps_end
;
...
...
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