This website works better with JavaScript.
Home
Explore
Help
Sign In
RuhNetConsulting
/
rtpengine
mirror of
https://github.com/sipwise/rtpengine
Watch
1
Star
1
Fork
0
Code
Issues
0
Projects
0
Releases
822
Wiki
Activity
Browse Source
fix segfault when resampling fails
reported in
#306
Change-Id: I08786671d71e5f2919c493a6d529e2ea66efe8aa
changes/85/10485/1
Richard Fuchs
9 years ago
parent
3dcfe82231
commit
2b72fdec73
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
recording-daemon/decoder.c
+ 2
- 0
recording-daemon/decoder.c
View File
@ -246,6 +246,8 @@ err:
static
int
decoder_got_frame
(
decoder_t
*
dec
,
output_t
*
output
,
metafile_t
*
metafile
)
{
/
/
do
we
need
to
resample
?
AVFrame
*
dec_frame
=
decoder_resample_frame
(
dec
)
;
if
(
!
dec_frame
)
return
-
1
;
/
/
handle
mix
output
pthread_mutex_lock
(
&
metafile
-
>
mix_lock
)
;
Write
Preview
Loading…
Cancel
Save