ffmpeg_vaapi: fix choice of decoder_format
authorMoritz Barsnick <barsnick@gmx.net>
Tue, 27 Sep 2016 12:21:49 +0000 (14:21 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 28 Sep 2016 23:23:52 +0000 (01:23 +0200)
commit1846a3eac854799fbffc9669dcf4de558b917957
treef65e4d55e07bb4da8f41ec35086853fbb13fd7c8
parent95f2dcafe1895f67803afcb8cce33425e818639f
ffmpeg_vaapi: fix choice of decoder_format

The check could previously never evaluate to true, probably due to
a typo.

Reported-By: Mihai Chindea <mihai.chindea@uti.eu.com>
Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
Tested-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
ffmpeg_vaapi.c