view libmpcodecs/vf_scale.h @ 26133:94cc4bac8cd0

Turn ancient V offset numerical constants into named ones. Add a check that checks that the width is within the chosen constant. This might have been exploitable.
author michael
date Wed, 05 Mar 2008 03:00:25 +0000
parents 4129c8cfa742
children bbb6ebec87a0
line wrap: on
line source

//GPL

#ifndef MPLAYER_VF_SCALE_H
#define MPLAYER_VF_SCALE_H

int get_sws_cpuflags(void);
struct SwsContext *sws_getContextFromCmdLine(int srcW, int srcH, int srcFormat, int dstW, int dstH, int dstFormat);

#endif /* MPLAYER_VF_SCALE_H */