瀏覽代碼

Fixing testffmpeg.c fallthrough warning

Petar Popovic 1 年之前
父節點
當前提交
edb370b8bb
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      test/testffmpeg.c

+ 1 - 0
test/testffmpeg.c

@@ -778,6 +778,7 @@ static SDL_bool GetOESTextureForDRMFrame(AVFrame *frame, SDL_Texture **texture)
     case SDL_COLOR_PRIMARIES_BT2020:
         attr[k++] = EGL_YUV_COLOR_SPACE_HINT_EXT;
         attr[k++] = EGL_ITU_REC2020_EXT;
+        break;
     default:
         break;
     }