view libmpcodecs/vf_scale.h @ 28320:aac3629b180d

Actually abort (return NULL) in the alloc-failure check in play_tree_new instead of going right ahead and crashing. Patch by Luis Felipe Strano Moraes (luis strano gmail com).
author reimar
date Sun, 25 Jan 2009 18:25:11 +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 */