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
cf310601
Commit
cf310601
authored
Feb 07, 2012
by
Clément Bœsch
Committed by
Clément Bœsch
Feb 10, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg: move filtered_frame to video stream processing scope.
parent
aede21f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
ffmpeg.c
ffmpeg.c
+2
-1
No files found.
ffmpeg.c
View file @
cf310601
...
@@ -2050,7 +2050,7 @@ static int transcode_audio(InputStream *ist, AVPacket *pkt, int *got_output)
...
@@ -2050,7 +2050,7 @@ static int transcode_audio(InputStream *ist, AVPacket *pkt, int *got_output)
static
int
transcode_video
(
InputStream
*
ist
,
AVPacket
*
pkt
,
int
*
got_output
,
int64_t
*
pkt_pts
)
static
int
transcode_video
(
InputStream
*
ist
,
AVPacket
*
pkt
,
int
*
got_output
,
int64_t
*
pkt_pts
)
{
{
AVFrame
*
decoded_frame
,
*
filtered_frame
=
NULL
;
AVFrame
*
decoded_frame
;
void
*
buffer_to_free
=
NULL
;
void
*
buffer_to_free
=
NULL
;
int
i
,
ret
=
0
;
int
i
,
ret
=
0
;
float
quality
=
0
;
float
quality
=
0
;
...
@@ -2119,6 +2119,7 @@ static int transcode_video(InputStream *ist, AVPacket *pkt, int *got_output, int
...
@@ -2119,6 +2119,7 @@ static int transcode_video(InputStream *ist, AVPacket *pkt, int *got_output, int
rate_emu_sleep
(
ist
);
rate_emu_sleep
(
ist
);
for
(
i
=
0
;
i
<
nb_output_streams
;
i
++
)
{
for
(
i
=
0
;
i
<
nb_output_streams
;
i
++
)
{
AVFrame
*
filtered_frame
=
NULL
;
OutputStream
*
ost
=
&
output_streams
[
i
];
OutputStream
*
ost
=
&
output_streams
[
i
];
int
frame_size
;
int
frame_size
;
...
...
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