Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
mediastreamer2
Commits
d2d96d8d
Commit
d2d96d8d
authored
Jun 03, 2014
by
Ghislain MARY
Browse files
Fix memory leak and unhandled error case in VP8 RTP unpacker.
parent
4126d24b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
src/voip/vp8rtpfmt.c
src/voip/vp8rtpfmt.c
+7
-0
No files found.
src/voip/vp8rtpfmt.c
View file @
d2d96d8d
...
...
@@ -308,6 +308,13 @@ static void generate_partitions_list(Vp8RtpFmtUnpackerCtx *ctx, Vp8RtpFmtFrame *
}
last_cseq
=
packet
->
extended_cseq
;
}
/* The current partition is not complete. */
if
(
partition
!=
NULL
)
{
partition
->
error
=
Vp8RtpFmtIncompletePartition
;
frame
->
error
=
Vp8RtpFmtIncompleteFrame
;
add_partition_to_frame
(
frame
,
partition
);
}
}
static
void
mark_last_present_partition_as_last_in_frame
(
Vp8RtpFmtFrame
*
frame
)
{
...
...
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