mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-18 01:28:42 +00:00
Merge pull request #913 in FS/freeswitch from ~FRANCOIS/freeswitch-fs-9355:master to master
* commit '0df7e787ce38bdd5c2e61fac37c1e92425bc5366': FS-9355: fix segfault in case of null frame
This commit is contained in:
commit
0beda620dd
@ -11697,7 +11697,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_read_video_frame(switch_core
|
||||
}
|
||||
}
|
||||
|
||||
if ((*frame)->codec) {
|
||||
if ((*frame) && (*frame)->codec) {
|
||||
if (patchers) {
|
||||
switch_set_flag((*frame)->codec, SWITCH_CODEC_FLAG_VIDEO_PATCHING);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user