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
63b5e99f
Commit
63b5e99f
authored
Feb 08, 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: make use of ret error out in transcode_video().
parent
086fc4d7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
ffmpeg.c
ffmpeg.c
+5
-4
No files found.
ffmpeg.c
View file @
63b5e99f
...
...
@@ -2135,9 +2135,9 @@ static int transcode_video(InputStream *ist, AVPacket *pkt, int *got_output, int
goto
cont
;
}
if
(
!
ist
->
filtered_frame
&&
!
(
ist
->
filtered_frame
=
avcodec_alloc_frame
()))
{
av_free
(
buffer_to_free
);
return
AVERROR
(
ENOMEM
)
;
}
else
ret
=
AVERROR
(
ENOMEM
);
goto
end
;
}
avcodec_get_frame_defaults
(
ist
->
filtered_frame
);
filtered_frame
=
ist
->
filtered_frame
;
*
filtered_frame
=
*
decoded_frame
;
//for me_threshold
...
...
@@ -2158,6 +2158,7 @@ static int transcode_video(InputStream *ist, AVPacket *pkt, int *got_output, int
#endif
}
end:
av_free
(
buffer_to_free
);
return
ret
;
}
...
...
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