rtmp2: Check for missing GstRtmpMeta
authorJan Alexander Steffens (heftig) <jsteffens@make.tv>
Tue, 12 Nov 2019 10:46:21 +0000 (11:46 +0100)
committerJan Alexander Steffens (heftig) <jsteffens@make.tv>
Tue, 12 Nov 2019 11:20:30 +0000 (12:20 +0100)
commitf730f4a694d8ea722f3e1c63cea93466ccdca88e
tree9eda2dc901da05c9714361f4fc5486d858823237
parent8d7489a73474dcfd85d2adab97f925e93e9aebde
rtmp2: Check for missing GstRtmpMeta

The message buffers are created using `gst_rtmp_message_new` and thus
always contain a GstRtmpMeta. Add checks to appease Coverity's static
analysis.

CID 1455596
CID 1455384
gst/rtmp2/rtmp/rtmpchunkstream.c
gst/rtmp2/rtmp/rtmpconnection.c