MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / ff_amf_read_string

Function ff_amf_read_string

libavformat/rtmppkt.c:122–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122int ff_amf_read_string(GetByteContext *bc, uint8_t *str,
123 int strsize, int *length)
124{
125 if (bytestream2_get_byte(bc) != AMF_DATA_TYPE_STRING)
126 return AVERROR_INVALIDDATA;
127 return ff_amf_get_string(bc, str, strsize, length);
128}
129
130int ff_amf_read_null(GetByteContext *bc)
131{

Callers 6

rtmp_send_packetFunction · 0.85
read_connectFunction · 0.85
send_invoke_responseFunction · 0.85
read_number_resultFunction · 0.85
handle_notifyFunction · 0.85
rtmp_writeFunction · 0.85

Calls 1

ff_amf_get_stringFunction · 0.85

Tested by

no test coverage detected