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
df8737eb
Commit
df8737eb
authored
Sep 01, 2011
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg: fix two unused variables warnings.
parent
b85e9d31
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
ffmpeg.c
ffmpeg.c
+6
-6
No files found.
ffmpeg.c
View file @
df8737eb
...
@@ -1077,15 +1077,16 @@ static void do_video_resample(OutputStream *ost,
...
@@ -1077,15 +1077,16 @@ static void do_video_resample(OutputStream *ost,
AVFrame
*
in_picture
,
AVFrame
*
in_picture
,
AVFrame
**
out_picture
)
AVFrame
**
out_picture
)
{
{
int
resample_changed
=
0
;
#if CONFIG_AVFILTER
*
out_picture
=
in_picture
;
*
out_picture
=
in_picture
;
#
if !CONFIG_AVFILTER
#
else
AVCodecContext
*
dec
=
ist
->
st
->
codec
;
AVCodecContext
*
dec
=
ist
->
st
->
codec
;
AVCodecContext
*
enc
=
ost
->
st
->
codec
;
AVCodecContext
*
enc
=
ost
->
st
->
codec
;
resample_changed
=
ost
->
resample_width
!=
dec
->
width
||
int
resample_changed
=
ost
->
resample_width
!=
dec
->
width
||
ost
->
resample_height
!=
dec
->
height
||
ost
->
resample_height
!=
dec
->
height
||
ost
->
resample_pix_fmt
!=
dec
->
pix_fmt
;
ost
->
resample_pix_fmt
!=
dec
->
pix_fmt
;
*
out_picture
=
in_picture
;
if
(
resample_changed
)
{
if
(
resample_changed
)
{
av_log
(
NULL
,
AV_LOG_INFO
,
av_log
(
NULL
,
AV_LOG_INFO
,
"Input stream #%d.%d frame changed from size:%dx%d fmt:%s to size:%dx%d fmt:%s
\n
"
,
"Input stream #%d.%d frame changed from size:%dx%d fmt:%s to size:%dx%d fmt:%s
\n
"
,
...
@@ -1884,7 +1885,6 @@ static void print_sdp(OutputFile *output_files, int n)
...
@@ -1884,7 +1885,6 @@ static void print_sdp(OutputFile *output_files, int n)
static
int
init_input_stream
(
int
ist_index
,
OutputStream
*
output_streams
,
int
nb_output_streams
,
static
int
init_input_stream
(
int
ist_index
,
OutputStream
*
output_streams
,
int
nb_output_streams
,
char
*
error
,
int
error_len
)
char
*
error
,
int
error_len
)
{
{
int
i
;
InputStream
*
ist
=
&
input_streams
[
ist_index
];
InputStream
*
ist
=
&
input_streams
[
ist_index
];
if
(
ist
->
decoding_needed
)
{
if
(
ist
->
decoding_needed
)
{
AVCodec
*
codec
=
ist
->
dec
;
AVCodec
*
codec
=
ist
->
dec
;
...
...
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