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
edb5238c
Commit
edb5238c
authored
Aug 18, 2012
by
Mans Rullgard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libavformat: add const to AVCodec pointers
Signed-off-by:
Mans Rullgard
<
mans@mansr.com
>
parent
11434c9b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
utils.c
libavformat/utils.c
+2
-2
No files found.
libavformat/utils.c
View file @
edb5238c
...
...
@@ -2075,7 +2075,7 @@ static int has_decode_delay_been_guessed(AVStream *st)
/* returns 1 or 0 if or if not decoded data was returned, or a negative error */
static
int
try_decode_frame
(
AVStream
*
st
,
AVPacket
*
avpkt
,
AVDictionary
**
options
)
{
AVCodec
*
codec
;
const
AVCodec
*
codec
;
int
got_picture
=
1
,
ret
=
0
;
AVFrame
picture
;
AVPacket
pkt
=
*
avpkt
;
...
...
@@ -2236,7 +2236,7 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
int
orig_nb_streams
=
ic
->
nb_streams
;
// new streams might appear, no options for those
for
(
i
=
0
;
i
<
ic
->
nb_streams
;
i
++
)
{
AVCodec
*
codec
;
const
AVCodec
*
codec
;
AVDictionary
*
thread_opt
=
NULL
;
st
=
ic
->
streams
[
i
];
...
...
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