avcodec/decode: fix warning when decoding pseudo paletted formats
authorwm4 <nfxjfg@googlemail.com>
Wed, 4 Apr 2018 16:07:03 +0000 (18:07 +0200)
committerwm4 <nfxjfg@googlemail.com>
Thu, 5 Apr 2018 14:58:40 +0000 (16:58 +0200)
commit709e0291d659d089527ec7c048f9b2608183df64
treea0f394ada4d046e20937b4ced18ddd8034b0eb9b
parent53688b62ca96ad9a3b0e7d201caca61c79a68648
avcodec/decode: fix warning when decoding pseudo paletted formats

The pseudo palette allocation is optional now. But if it's still
allocated (like the internal get_buffer2 implementation does, for
compatibility), it shouldn't print a warning.
libavcodec/decode.c