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
0ee32b90
Commit
0ee32b90
authored
May 10, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg: remove unused variables
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
36ab7948
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
ffmpeg.c
ffmpeg.c
+1
-3
No files found.
ffmpeg.c
View file @
0ee32b90
...
@@ -1604,7 +1604,7 @@ static void do_audio_out(AVFormatContext *s, OutputStream *ost,
...
@@ -1604,7 +1604,7 @@ static void do_audio_out(AVFormatContext *s, OutputStream *ost,
uint8_t
*
buftmp
;
uint8_t
*
buftmp
;
int64_t
size_out
;
int64_t
size_out
;
int
frame_bytes
,
resample_changed
,
ret
;
int
frame_bytes
,
resample_changed
;
AVCodecContext
*
enc
=
ost
->
st
->
codec
;
AVCodecContext
*
enc
=
ost
->
st
->
codec
;
AVCodecContext
*
dec
=
ist
->
st
->
codec
;
AVCodecContext
*
dec
=
ist
->
st
->
codec
;
int
osize
=
av_get_bytes_per_sample
(
enc
->
sample_fmt
);
int
osize
=
av_get_bytes_per_sample
(
enc
->
sample_fmt
);
...
@@ -1614,7 +1614,6 @@ static void do_audio_out(AVFormatContext *s, OutputStream *ost,
...
@@ -1614,7 +1614,6 @@ static void do_audio_out(AVFormatContext *s, OutputStream *ost,
int
planes
=
av_sample_fmt_is_planar
(
dec
->
sample_fmt
)
?
dec
->
channels
:
1
;
int
planes
=
av_sample_fmt_is_planar
(
dec
->
sample_fmt
)
?
dec
->
channels
:
1
;
int
i
;
int
i
;
int
out_linesize
=
0
;
int
out_linesize
=
0
;
int
buf_linesize
=
decoded_frame
->
linesize
[
0
];
av_assert0
(
planes
<=
AV_NUM_DATA_POINTERS
);
av_assert0
(
planes
<=
AV_NUM_DATA_POINTERS
);
...
@@ -1743,7 +1742,6 @@ static void do_audio_out(AVFormatContext *s, OutputStream *ost,
...
@@ -1743,7 +1742,6 @@ static void do_audio_out(AVFormatContext *s, OutputStream *ost,
buf
[
i
]
=
t
;
buf
[
i
]
=
t
;
}
}
size
+=
byte_delta
;
size
+=
byte_delta
;
buf_linesize
=
allocated_async_buf_size
;
av_log
(
NULL
,
AV_LOG_VERBOSE
,
"adding %d audio samples of silence
\n
"
,
idelta
);
av_log
(
NULL
,
AV_LOG_VERBOSE
,
"adding %d audio samples of silence
\n
"
,
idelta
);
}
}
}
else
if
(
audio_sync_method
>
1
)
{
}
else
if
(
audio_sync_method
>
1
)
{
...
...
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