Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
00da7db1
Commit
00da7db1
authored
Nov 15, 2008
by
Laszlo Ashin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aac: don't try to free static buffer
In
432da18e
a dynamic buffer was replaced by a static one but some frees were accidently left there which caused some segfaults.
parent
0efd80d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
aac_plugin.c
src/decoder/aac_plugin.c
+0
-4
No files found.
src/decoder/aac_plugin.c
View file @
00da7db1
...
...
@@ -282,8 +282,6 @@ static float getAacFloatTotalTime(const char *file)
faacDecClose
(
decoder
);
}
if
(
b
.
buffer
)
free
(
b
.
buffer
);
input_stream_close
(
&
inStream
);
return
length
;
...
...
@@ -352,8 +350,6 @@ aac_stream_decode(struct decoder *mpd_decoder, struct input_stream *inStream)
if
(
bread
<
0
)
{
ERROR
(
"Error not a AAC stream.
\n
"
);
faacDecClose
(
decoder
);
if
(
b
.
buffer
)
free
(
b
.
buffer
);
return
;
}
...
...
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