aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/sbcdsp.c
diff options
context:
space:
mode:
authorSteinar H. Gunderson <steinar+ffmpeg@gunderson.no>2020-07-19 20:29:29 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2020-07-20 18:41:09 +0200
commit80286671c5594957d74120b3b5f47b774e98c661 (patch)
tree420f52f83b6c03a4bdab55a7e4516e5448c8a03a /libavcodec/sbcdsp.c
parentc4c989c7ca06619e29afefe3d3be9e36c1614ebb (diff)
downloadffmpeg-80286671c5594957d74120b3b5f47b774e98c661.tar.gz
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 <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/sbcdsp.c')
0 files changed, 0 insertions, 0 deletions