vaapi: wrap codec specific functions in appropiate #ifs
authorThiago Santos <thiago.sousa.santos@collabora.com>
Sun, 14 Dec 2014 20:59:27 +0000 (22:59 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Sun, 14 Dec 2014 21:04:38 +0000 (22:04 +0100)
commitbab8d73765238bfeea7a8dfd454f40ac213b3d22
tree1d5a1b4431855666b137eb9e7d4f751902cc28be
parent5a82ad644f281701eb22e0359fd732fac67aafa4
vaapi: wrap codec specific functions in appropiate #ifs

Fix linking when only a subset of vaapi decoders is enabled.

Bug-Id: 760
CC: libav-stable@libav.org
Signed-off-by: RĂ©mi Denis-Courmont <remi@remlab.net>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/vaapi.c