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
a2eef3e9
Commit
a2eef3e9
authored
Apr 30, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
LAVF API: remove AVOutputFormat.set_parameters() the field is unused.
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
8de45adb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
9 deletions
+3
-9
avformat.h
libavformat/avformat.h
+3
-4
utils.c
libavformat/utils.c
+0
-5
No files found.
libavformat/avformat.h
View file @
a2eef3e9
...
@@ -285,10 +285,9 @@ typedef struct AVOutputFormat {
...
@@ -285,10 +285,9 @@ typedef struct AVOutputFormat {
* AVFMT_NODIMENSIONS, AVFMT_NOSTREAMS
* AVFMT_NODIMENSIONS, AVFMT_NOSTREAMS
*/
*/
int
flags
;
int
flags
;
/**
* Currently only used to set pixel format if not YUV420P.
void
*
dummy
;
*/
int
(
*
set_parameters
)(
struct
AVFormatContext
*
,
AVFormatParameters
*
);
int
(
*
interleave_packet
)(
struct
AVFormatContext
*
,
AVPacket
*
out
,
int
(
*
interleave_packet
)(
struct
AVFormatContext
*
,
AVPacket
*
out
,
AVPacket
*
in
,
int
flush
);
AVPacket
*
in
,
int
flush
);
...
...
libavformat/utils.c
View file @
a2eef3e9
...
@@ -2716,11 +2716,6 @@ int av_set_parameters(AVFormatContext *s, AVFormatParameters *ap)
...
@@ -2716,11 +2716,6 @@ int av_set_parameters(AVFormatContext *s, AVFormatParameters *ap)
}
else
}
else
s
->
priv_data
=
NULL
;
s
->
priv_data
=
NULL
;
if
(
s
->
oformat
->
set_parameters
)
{
ret
=
s
->
oformat
->
set_parameters
(
s
,
ap
);
if
(
ret
<
0
)
return
ret
;
}
return
0
;
return
0
;
}
}
...
...
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