added help for arguments in case user doesn't give any arguments (#138)

[ROCm/rocdecode commit: 5930f15c1a]
Cette révision appartient à :
Pavel Tcherniaev a créé et GitHub a révisé 2023-12-13 13:55:40 -05:00
1 Parent 0652ec852c
révision 8107033846
6 fichiers modifiés
+6 -6

Aucun fichier ne correspond à votre recherche

+1 -1
Voir le fichier
@@ -68,7 +68,7 @@ int main(int argc, char **argv) {
Rect *p_crop_rect = nullptr;
OutputSurfaceMemoryType mem_type = OUT_SURFACE_MEM_DEV_INTERNAL; // set to internal
// Parse command-line arguments
if(argc < 1) {
if(argc <= 1) {
ShowHelpAndExit();
}
for (int i = 1; i < argc; i++) {