[vlc-commits] es_format: mark transform default switch target as unreachable

Jean-Baptiste Kempf git at videolan.org
Sun May 24 19:32:34 CEST 2015


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat May 23 16:31:56 2015 +0200| [b68711b2cba0e1bd4c8f3669d04841c5ff781470] | committer: Jean-Baptiste Kempf

es_format: mark transform default switch target as unreachable

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

 src/misc/es_format.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/misc/es_format.c b/src/misc/es_format.c
index 7db4d1c..ece9ea6 100644
--- a/src/misc/es_format.c
+++ b/src/misc/es_format.c
@@ -273,6 +273,8 @@ static void transform_GetBasicOps( video_transform_t transform,
         case TRANSFORM_IDENTITY:
             *angle = 0;
             break;
+        default:
+            vlc_assert_unreachable ();
     }
 }
 



More information about the vlc-commits mailing list