mft: use video_format_Copy() instead of plain structure copy
commitc3af9ac279cf7c29d07516009750e69b8be9c184
authorSteve Lhomme <robux4@videolabs.io>
Mon, 10 Jul 2017 14:15:55 +0000 (10 16:15 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 12 Jul 2017 10:15:42 +0000 (12 12:15 +0200)
tree9b6dd4d46a4c6f3f8b0291aed26264295d5741e9
parentb840c61553eea5e35bfad8d281f17354d464e13f
mft: use video_format_Copy() instead of plain structure copy

If there is a palette we don't want to use the same pointer otherwise there
will be a double free.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/codec/mft.c