avformat/bethsoftvid: Avoid allocations and frees for palettes
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sat, 21 Mar 2020 03:30:27 +0000 (04:30 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 22 Mar 2020 12:00:19 +0000 (13:00 +0100)
commit6e14ddd1567e215957b754c2863ec715f74607b9
treefa83b079a5d652d4d8e459292d8f99d858542d54
parentea46b45e9c5475a62d37c9d79fe0ae038a04bdef
avformat/bethsoftvid: Avoid allocations and frees for palettes

by putting the palette in the demuxer's context. This also allows to
remove this demuxer's read_close-function.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/bethsoftvid.c