Navigation Menu

Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed YUV overlay crash
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jun 18, 2006
1 parent 8e86df9 commit 7e42c4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SDL_compat.c
Expand Up @@ -1259,7 +1259,7 @@ SDL_CreateYUVOverlay(int w, int h, Uint32 format, SDL_Surface * display)
case SDL_YUY2_OVERLAY:
case SDL_UYVY_OVERLAY:
case SDL_YVYU_OVERLAY:
overlay->pitches[0] = overlay->h * 2;
overlay->pitches[0] = overlay->w * 2;
break;
}

Expand Down

0 comments on commit 7e42c4a

Please sign in to comment.