mpeg12: Fix non-hwaccel VDPAU decode.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 24 Feb 2013 16:17:41 +0000 (17:17 +0100)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 24 Feb 2013 18:49:06 +0000 (19:49 +0100)
commitc65eb7907c49cb20ac46ba8d05d9894a7d6671d3
tree97328bf2a0fc0eb2c7eecc5c2cd82223e0bbbc00
parentdb6e2e848b21d988fb108995387a8c7836da4dc7
mpeg12: Fix non-hwaccel VDPAU decode.

Previously avctx->hwaccel would have been set to a dummy value,
now an explicit check is necessary instead.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
libavcodec/mpeg12.c