diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2011-08-01 08:36:46 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2011-08-01 08:36:46 +0800 |
commit | 998402473bebbea0e66e8df51f253afce99702a4 (patch) | |
tree | 9ac98004f4ef3c497c37b3da4459d05ee1356253 | |
parent | 4f4b6c51349438d364b306bf0ea649984bcacf6a (diff) | |
download | libva-998402473bebbea0e66e8df51f253afce99702a4.tar.gz |
vainfo: fix broken vainfo after updating va.h
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
-rw-r--r-- | test/vainfo/vainfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/vainfo/vainfo.c b/test/vainfo/vainfo.c index c0f8c7b..997a050 100644 --- a/test/vainfo/vainfo.c +++ b/test/vainfo/vainfo.c @@ -122,7 +122,7 @@ int main(int argc, const char* argv[]) printf("%s: Driver version: %s\n", name, driver ? driver : "<unknown>"); printf("%s: Supported profile and entrypoints\n", name); - for (profile = VAProfileMPEG2Simple; profile <= VAProfileNone; profile++) { + for (profile = VAProfileNone; profile < VAProfileMax; profile++) { char *profile_str; va_status = vaQueryConfigEntrypoints(va_dpy, profile, entrypoints, |