Mercurial > mplayer.hg
changeset 4746:cbce019d2d94
Change order of vo_function calls (Although it doesn't matter for now).
author | nick |
---|---|
date | Sun, 17 Feb 2002 17:18:05 +0000 |
parents | 398e3663ed71 |
children | 0dec9673d686 |
files | libvo/vo_vesa.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_vesa.c Sun Feb 17 15:54:58 2002 +0000 +++ b/libvo/vo_vesa.c Sun Feb 17 17:18:05 2002 +0000 @@ -951,16 +951,16 @@ { uint32_t i,n; uint8_t *ptrs[video_mode_info.YResolution]; + if(video_out_png.preinit(NULL)) + { + printf("\nvo_vesa: can't preinit vo_png\n"); + return 1; + } if(!video_out_png.control(VOCTRL_QUERY_FORMAT, &dstFourcc)) { printf("\nvo_vesa: vo_png doesn't support: %s fourcc\n",vo_format_name(dstFourcc)); return 1; } - if(video_out_png.preinit(NULL)) - { - printf("\nvo_vesa: can't preinit vo_png\n"); - return 1; - } if(video_out_png.config(HAS_DGA()?video_mode_info.XResolution:dstW, HAS_DGA()?video_mode_info.YResolution:dstH, HAS_DGA()?video_mode_info.XResolution:dstW,