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
7215fcf8
Commit
7215fcf8
authored
Jul 26, 2014
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat: Mark AVOutputFormat argument in avformat_query_codec as const
parent
ec4f04da
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
avformat.h
libavformat/avformat.h
+2
-1
utils.c
libavformat/utils.c
+1
-1
No files found.
libavformat/avformat.h
View file @
7215fcf8
...
@@ -1911,7 +1911,8 @@ int av_match_ext(const char *filename, const char *extensions);
...
@@ -1911,7 +1911,8 @@ int av_match_ext(const char *filename, const char *extensions);
* @return 1 if codec with ID codec_id can be stored in ofmt, 0 if it cannot.
* @return 1 if codec with ID codec_id can be stored in ofmt, 0 if it cannot.
* A negative number if this information is not available.
* A negative number if this information is not available.
*/
*/
int
avformat_query_codec
(
AVOutputFormat
*
ofmt
,
enum
AVCodecID
codec_id
,
int
std_compliance
);
int
avformat_query_codec
(
const
AVOutputFormat
*
ofmt
,
enum
AVCodecID
codec_id
,
int
std_compliance
);
/**
/**
* @defgroup riff_fourcc RIFF FourCCs
* @defgroup riff_fourcc RIFF FourCCs
...
...
libavformat/utils.c
View file @
7215fcf8
...
@@ -3049,7 +3049,7 @@ int64_t ff_iso8601_to_unix_time(const char *datestr)
...
@@ -3049,7 +3049,7 @@ int64_t ff_iso8601_to_unix_time(const char *datestr)
#endif
#endif
}
}
int
avformat_query_codec
(
AVOutputFormat
*
ofmt
,
enum
AVCodecID
codec_id
,
int
avformat_query_codec
(
const
AVOutputFormat
*
ofmt
,
enum
AVCodecID
codec_id
,
int
std_compliance
)
int
std_compliance
)
{
{
if
(
ofmt
)
{
if
(
ofmt
)
{
...
...
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