avformat: factor ff_get_qtpalette() out of mov.c
authorMats Peterson <matsp888@yahoo.com>
Sun, 27 Dec 2015 20:28:09 +0000 (21:28 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 28 Dec 2015 01:47:26 +0000 (02:47 +0100)
commit57631f1851ef71918b68b9a9bdfbeb2974ec1458
tree30a709180f45ee8546bcf7b0f4466a9b7c26b19e
parentc48122d731be09db054befac8ab0ef47fd7d4dc2
avformat: factor ff_get_qtpalette() out of mov.c

This consists mainly of moving the palette handling from
the mov_parse_stsd_video() function to a new ff_get_qtpalette() function
in the new file qtpalette.c, which will be shared by both matroskadec.c and
mov.c.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/Makefile
libavformat/mov.c
libavformat/qtpalette.c [new file with mode: 0644]
libavformat/qtpalette.h