Skip to content

Commit

Permalink
Fixed dereference of NULL pointer.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jun 11, 2011
1 parent e950ca4 commit cf96051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sdltheoraplay.c
Expand Up @@ -252,7 +252,7 @@ static void playfile(const char *fname)
{
case SDL_VIDEOEXPOSE:
{
SDL_Rect dstrect = { 0, 0, video->width, video->height };
SDL_Rect dstrect = { 0, 0, screen->w, screen->h };
SDL_DisplayYUVOverlay(overlay, &dstrect);
break;
} // case
Expand Down

0 comments on commit cf96051

Please sign in to comment.