mkv: fix build failure when compiled with llvm
commit8d119e05672a419a83cb73940473c65abb82852a
authorFilip Roséen <filip@videolabs.io>
Wed, 9 Mar 2016 17:19:15 +0000 (9 18:19 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 9 Mar 2016 17:26:40 +0000 (9 18:26 +0100)
tree96519b11246ffa5326f056102c3827b767cd2702
parentc7ccd77d115fb10ede5530a2645b122bb7c61ced
mkv: fix build failure when compiled with llvm

LLVM treats a typedef with forward-declaration inside a local struct as
a forward-declaration for a nested type of that struct, effectively
erroring on the implementation of the dispatchers.

This patch fixes that issue by forcing the name to referr to a type in
the sourrounding scope (by introducing a proper forward-declaration).

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/demux/mkv/dispatcher.hpp