diff options
author | Steinar H. Gunderson <[email protected]> | 2020-07-19 20:29:29 +0200 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2020-07-20 18:41:09 +0200 |
commit | 80286671c5594957d74120b3b5f47b774e98c661 (patch) | |
tree | 420f52f83b6c03a4bdab55a7e4516e5448c8a03a /libavformat/tls_openssl.c | |
parent | c4c989c7ca06619e29afefe3d3be9e36c1614ebb (diff) |
avcodec/put_bits: Fix LZW warning
lzwenc stores a function pointer to either put_bits or put_bits_le;
however, after the recent change, the function pointer's prototype
would depend on BitBuf. BitBuf is defined in put_bits.h, whose
definition depends on whether BITSTREAM_WRITER_LE is #defined or not.
For safety, we set a boolean flag for little/big endian instead,
which also allows the definition to be inlined.
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavformat/tls_openssl.c')
0 files changed, 0 insertions, 0 deletions