Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
ffmpeg2theora
Commits
e1a70170
Commit
e1a70170
authored
Jun 03, 2008
by
Jan Gerber
Browse files
free picture, leave out frame_p
parent
8d162954
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ffmpeg2theora.c
View file @
e1a70170
...
...
@@ -124,6 +124,7 @@ static AVFrame *frame_alloc (int pix_fmt, int width, int height) {
*/
static
void
frame_dealloc
(
AVFrame
*
frame
)
{
if
(
frame
)
{
avpicture_free
((
AVPicture
*
)
frame
);
av_free
(
frame
);
}
}
...
...
@@ -969,7 +970,6 @@ void ff2theora_output(ff2theora this) {
if
(
ppContext
)
pp_free_context
(
ppContext
);
if
(
!
info
.
audio_only
)
{
frame_dealloc
(
frame_p
);
frame_dealloc
(
output_p
);
frame_dealloc
(
output_tmp_p
);
frame_dealloc
(
output_resized_p
);
...
...
Write
Preview
Supports
Markdown
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