Mercurial > mplayer.hg
view libvo/aspect.h @ 21810:7a36d3332133
sizeof() is long, thus %d format in error message is wrong.
Fix by assigning extradata_size before and printing that, since
this also removes a bit of code duplication.
author | reimar |
---|---|
date | Fri, 05 Jan 2007 15:41:00 +0000 |
parents | 72c87b2ec779 |
children | 3f0d00abc073 |
line wrap: on
line source
#ifndef __ASPECT_H #define __ASPECT_H /* Stuff for correct aspect scaling. */ extern int vo_panscan_x; extern int vo_panscan_y; extern float vo_panscan_amount; extern void panscan_init( void ); extern void panscan_calc( void ); void aspect_save_orig(int orgw, int orgh); void aspect_save_prescale(int prew, int preh); void aspect_save_screenres(int scrw, int scrh); #define A_ZOOM 1 #define A_NOZOOM 0 void aspect(int *srcw, int *srch, int zoom); #endif