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
2d3acbfe
Commit
2d3acbfe
authored
Aug 13, 2012
by
Nicolas George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: add const to AVCodecContext.codec_descriptor.
parent
9bb936a8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
avcodec.h
libavcodec/avcodec.h
+3
-3
utils.c
libavcodec/utils.c
+1
-1
No files found.
libavcodec/avcodec.h
View file @
2d3acbfe
...
...
@@ -3042,7 +3042,7 @@ typedef struct AVCodecContext {
* - encoding: unused.
* - decoding: set by libavcodec.
*/
AVCodecDescriptor
*
codec_descriptor
;
const
AVCodecDescriptor
*
codec_descriptor
;
/**
* Current statistics for PTS correction.
...
...
@@ -3058,8 +3058,8 @@ typedef struct AVCodecContext {
AVRational
av_codec_get_pkt_timebase
(
const
AVCodecContext
*
avctx
);
void
av_codec_set_pkt_timebase
(
AVCodecContext
*
avctx
,
AVRational
val
);
AVCodecDescriptor
*
av_codec_get_codec_descriptor
(
const
AVCodecContext
*
avctx
);
void
av_codec_set_codec_descriptor
(
AVCodecContext
*
avctx
,
AVCodecDescriptor
*
desc
);
const
AVCodecDescriptor
*
av_codec_get_codec_descriptor
(
const
AVCodecContext
*
avctx
);
void
av_codec_set_codec_descriptor
(
AVCodecContext
*
avctx
,
const
AVCodecDescriptor
*
desc
);
/**
* AVProfile.
...
...
libavcodec/utils.c
View file @
2d3acbfe
...
...
@@ -712,7 +712,7 @@ MAKE_ACCESSORS(AVFrame, frame, AVDictionary *, metadata)
MAKE_ACCESSORS
(
AVFrame
,
frame
,
int
,
decode_error_flags
)
MAKE_ACCESSORS
(
AVCodecContext
,
codec
,
AVRational
,
pkt_timebase
)
MAKE_ACCESSORS
(
AVCodecContext
,
codec
,
AVCodecDescriptor
*
,
codec_descriptor
)
MAKE_ACCESSORS
(
AVCodecContext
,
codec
,
const
AVCodecDescriptor
*
,
codec_descriptor
)
static
void
avcodec_get_subtitle_defaults
(
AVSubtitle
*
sub
)
{
...
...
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