[vlc-commits] dxva2: fix typo

Felix Abecassis git at videolan.org
Fri Mar 7 19:22:56 CET 2014


vlc | branch: master | Felix Abecassis <felix.abecassis at gmail.com> | Fri Mar  7 13:23:25 2014 +0100| [e737cf0b009548bdb00908a184dc75255feb1170] | committer: Felix Abecassis

dxva2: fix typo

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e737cf0b009548bdb00908a184dc75255feb1170
---

 modules/codec/avcodec/dxva2.c |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/modules/codec/avcodec/dxva2.c b/modules/codec/avcodec/dxva2.c
index 85d6f4a..960ee74 100644
--- a/modules/codec/avcodec/dxva2.c
+++ b/modules/codec/avcodec/dxva2.c
@@ -791,11 +791,11 @@ static int DxFindVideoServiceConversion(vlc_va_dxva2_t *va, GUID *input, D3DFORM
             continue;
 
         /* */
-        bool is_suported = false;
-        for (const GUID *g = &input_list[0]; !is_suported && g < &input_list[input_count]; g++) {
-            is_suported = IsEqualGUID(mode->guid, g);
+        bool is_supported = false;
+        for (const GUID *g = &input_list[0]; !is_supported && g < &input_list[input_count]; g++) {
+            is_supported = IsEqualGUID(mode->guid, g);
         }
-        if (!is_suported)
+        if (!is_supported)
             continue;
 
         /* */
@@ -823,11 +823,11 @@ static int DxFindVideoServiceConversion(vlc_va_dxva2_t *va, GUID *input, D3DFORM
             const d3d_format_t *format = &d3d_formats[j];
 
             /* */
-            bool is_suported = false;
-            for (unsigned k = 0; !is_suported && k < output_count; k++) {
-                is_suported = format->format == output_list[k];
+            bool is_supported = false;
+            for (unsigned k = 0; !is_supported && k < output_count; k++) {
+                is_supported = format->format == output_list[k];
             }
-            if (!is_suported)
+            if (!is_supported)
                 continue;
 
             /* We have our solution */



More information about the vlc-commits mailing list