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
9dced854
Commit
9dced854
authored
Mar 23, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avconv: remove a useless variable from OutputStream.
parent
b7327887
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
avconv.c
avconv.c
+3
-5
No files found.
avconv.c
View file @
9dced854
...
...
@@ -215,7 +215,6 @@ typedef struct OutputStream {
AVFrame
*
output_frame
;
/* video only */
int
video_resample
;
int
resample_height
;
int
resample_width
;
int
resample_pix_fmt
;
...
...
@@ -2422,10 +2421,9 @@ static int transcode_init(void)
exit
(
1
);
}
ost
->
video_resample
=
codec
->
width
!=
icodec
->
width
||
codec
->
height
!=
icodec
->
height
||
codec
->
pix_fmt
!=
icodec
->
pix_fmt
;
if
(
ost
->
video_resample
)
{
if
(
codec
->
width
!=
icodec
->
width
||
codec
->
height
!=
icodec
->
height
||
codec
->
pix_fmt
!=
icodec
->
pix_fmt
)
{
codec
->
bits_per_raw_sample
=
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