| 120 | } |
| 121 | |
| 122 | int 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 | |
| 130 | int ff_amf_read_null(GetByteContext *bc) |
| 131 | { |
no test coverage detected