diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-01-29 00:17:17 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-02 23:53:29 +0100 |
commit | 82d5316c57618c946b58ec446f8836422efb5b37 (patch) | |
tree | 2dc56610fe03d4192c387f0df1a3feecb73530a7 /libavformat/rtmppkt.c | |
parent | ac05413dfbd9acae0e6b0a169c22aeafbd34b73a (diff) | |
download | ffmpeg-82d5316c57618c946b58ec446f8836422efb5b37.tar.gz |
avformat/rtmppkt: Remove ff_amf_read_bool
Added in 50468f93e3940ba78836dfdac5165c20ae75327a, but never used.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/rtmppkt.c')
-rw-r--r-- | libavformat/rtmppkt.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libavformat/rtmppkt.c b/libavformat/rtmppkt.c index 1eeae17337..0e61e83699 100644 --- a/libavformat/rtmppkt.c +++ b/libavformat/rtmppkt.c @@ -84,14 +84,6 @@ void ff_amf_write_object_end(uint8_t **dst) bytestream_put_be24(dst, AMF_DATA_TYPE_OBJECT_END); } -int ff_amf_read_bool(GetByteContext *bc, int *val) -{ - if (bytestream2_get_byte(bc) != AMF_DATA_TYPE_BOOL) - return AVERROR_INVALIDDATA; - *val = bytestream2_get_byte(bc); - return 0; -} - int ff_amf_read_number(GetByteContext *bc, double *val) { uint64_t read; |