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
1f8b3632
Commit
1f8b3632
authored
May 06, 2019
by
Mark Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg_hw: Mark some strings as const
parent
909bcedc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ffmpeg.h
fftools/ffmpeg.h
+1
-1
ffmpeg_hw.c
fftools/ffmpeg_hw.c
+1
-1
No files found.
fftools/ffmpeg.h
View file @
1f8b3632
...
@@ -72,7 +72,7 @@ typedef struct HWAccel {
...
@@ -72,7 +72,7 @@ typedef struct HWAccel {
}
HWAccel
;
}
HWAccel
;
typedef
struct
HWDevice
{
typedef
struct
HWDevice
{
char
*
name
;
c
onst
c
har
*
name
;
enum
AVHWDeviceType
type
;
enum
AVHWDeviceType
type
;
AVBufferRef
*
device_ref
;
AVBufferRef
*
device_ref
;
}
HWDevice
;
}
HWDevice
;
...
...
fftools/ffmpeg_hw.c
View file @
1f8b3632
...
@@ -99,7 +99,7 @@ int hw_device_init_from_string(const char *arg, HWDevice **dev_out)
...
@@ -99,7 +99,7 @@ int hw_device_init_from_string(const char *arg, HWDevice **dev_out)
// -> av_hwdevice_ctx_create_derived()
// -> av_hwdevice_ctx_create_derived()
AVDictionary
*
options
=
NULL
;
AVDictionary
*
options
=
NULL
;
char
*
type_name
=
NULL
,
*
name
=
NULL
,
*
device
=
NULL
;
c
onst
c
har
*
type_name
=
NULL
,
*
name
=
NULL
,
*
device
=
NULL
;
enum
AVHWDeviceType
type
;
enum
AVHWDeviceType
type
;
HWDevice
*
dev
,
*
src
;
HWDevice
*
dev
,
*
src
;
AVBufferRef
*
device_ref
=
NULL
;
AVBufferRef
*
device_ref
=
NULL
;
...
...
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