]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9355
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 28 Sep 2016 22:07:19 +0000 (17:07 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 28 Sep 2016 22:07:19 +0000 (17:07 -0500)
src/switch_core_media.c

index 01845af723844ce438fbb998854271a4f3e38f50..6c0d96aad69fb49bc216924f79c3963fdf0bcf0e 100644 (file)
@@ -13398,7 +13398,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 {