Mercurial > mplayer.hg
comparison gui/ui/render.c @ 33774:474ffcdcc6e7
Change guiInterface_t void pointer member declarations.
Declare the members with their appropriate types.
Additionally, remove needless cast then and remove unnecessary
#ifdef CONFIG_DVDREAD.
author | ib |
---|---|
date | Sun, 10 Jul 2011 11:51:25 +0000 |
parents | a3983d2c9106 |
children | e1bec41397bb |
comparison
equal
deleted
inserted
replaced
33773:a3983d2c9106 | 33774:474ffcdcc6e7 |
---|---|
218 snprintf(tmp, sizeof(tmp), "%d", guiInfo.MovieHeight); | 218 snprintf(tmp, sizeof(tmp), "%d", guiInfo.MovieHeight); |
219 av_strlcat(trbuf, tmp, sizeof(trbuf)); | 219 av_strlcat(trbuf, tmp, sizeof(trbuf)); |
220 break; | 220 break; |
221 | 221 |
222 case 'C': | 222 case 'C': |
223 snprintf(tmp, sizeof(tmp), "%s", guiInfo.sh_video ? ((sh_video_t *)guiInfo.sh_video)->codec->name : ""); | 223 snprintf(tmp, sizeof(tmp), "%s", guiInfo.sh_video ? guiInfo.sh_video->codec->name : ""); |
224 av_strlcat(trbuf, tmp, sizeof(trbuf)); | 224 av_strlcat(trbuf, tmp, sizeof(trbuf)); |
225 break; | 225 break; |
226 | 226 |
227 case 's': | 227 case 's': |
228 if (guiInfo.Playing == GUI_STOP) | 228 if (guiInfo.Playing == GUI_STOP) |