diff options
author | Mark Thompson <sw@jkqxz.net> | 2023-01-24 22:46:22 +0000 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2023-05-17 19:38:45 +0000 |
commit | 9c830f4f6560227a81df7b96cad8648a1dc66f62 (patch) | |
tree | 3e4e73605a9a3dcf82b6b222411ad8e031153d11 /libavcodec/av1_parse.c | |
parent | dce6cf2c368edae76cd78f3cbfedb8187c3cb4b7 (diff) | |
download | ffmpeg-9c830f4f6560227a81df7b96cad8648a1dc66f62.tar.gz |
av1_parse: Remove unused getbits instance
Diffstat (limited to 'libavcodec/av1_parse.c')
-rw-r--r-- | libavcodec/av1_parse.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libavcodec/av1_parse.c b/libavcodec/av1_parse.c index 136ad1a58f..948e8eb62a 100644 --- a/libavcodec/av1_parse.c +++ b/libavcodec/av1_parse.c @@ -56,7 +56,7 @@ int ff_av1_extract_obu(AV1OBU *obu, const uint8_t *buf, int length, void *logctx int ff_av1_packet_split(AV1Packet *pkt, const uint8_t *buf, int length, void *logctx) { GetByteContext bc; - int ret, consumed; + int consumed; bytestream2_init(&bc, buf, length); pkt->nb_obus = 0; @@ -94,10 +94,6 @@ int ff_av1_packet_split(AV1Packet *pkt, const uint8_t *buf, int length, void *lo } pkt->nb_obus++; - - ret = init_get_bits(&obu->gb, obu->data, obu->size_bits); - if (ret < 0) - return ret; } return 0; |