[FFmpeg-devel] LZSS

Michael Niedermayer michael at niedermayer.cc
Thu Mar 18 01:20:13 EET 2021


Hi

We seem to have 3 implementations of LZSS, i noticed while fixing
a bug in one

libavcodec/dsicinvideo.c:static int cin_decode_lzss(const unsigned char *src, int src_size,
libavcodec/midivid.c:static ptrdiff_t lzss_uncompress(MidiVidContext *s, GetByteContext *gb, uint8_t *dst, unsigned int size)
libavcodec/sga.c:static int lzss_decompress(AVCodecContext *avctx,

maybe this can be factord somehow

Thanks

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210318/4d34fa2b/attachment.sig>


More information about the ffmpeg-devel mailing list