changeset 37039:2e58ad9a3f9e

Comment switch fallthrough cases.
author reimar
date Sun, 06 Apr 2014 18:37:42 +0000
parents 21d2ff801b8f
children 4764e4e58621
files libvo/vo_tdfx_vid.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_tdfx_vid.c	Sun Apr 06 18:36:32 2014 +0000
+++ b/libvo/vo_tdfx_vid.c	Sun Apr 06 18:37:42 2014 +0000
@@ -267,6 +267,7 @@
   case IMGFMT_BGR32:
     if(use_overlay)
       mp_msg(MSGT_VO,MSGL_INFO, MSGTR_LIBVO_TDFXVID_NonNativeOverlayFormatNeedConversion);
+    /* Fallthrough */
   case IMGFMT_BGR15:
   case IMGFMT_BGR16:
     src_bpp = (IMGFMT_BGR_DEPTH(format)+7)/8;
@@ -277,6 +278,7 @@
     buffer_stride[0] = ((src_width+1)/2)*2;
     buffer_stride[1] = buffer_stride[2] = buffer_stride[0]/2;
     src_fmt = TDFX_VID_FORMAT_YUY2;
+    /* TODO: is src_bpp == 2 really correct?? */
   case IMGFMT_YUY2:
   case IMGFMT_UYVY:
     src_bpp = 2;