view libvo/geometry.h @ 25444:acaa10e43c52

Move ds->current=NULL; further up to the free_demux_packet. This does not change behaviour in the normal case but avoids a double-free if the function is aborted via a signal handler.
author reimar
date Thu, 20 Dec 2007 11:21:02 +0000
parents 3f0d00abc073
children 917ae737b3d4
line wrap: on
line source

/* This file (C) Mark Zealey <mark@zealos.org 2002, released under GPL */
#ifndef GEOMETRY_H
#define GEOMETRY_H

extern char *vo_geometry;
extern int geometry_wh_changed;
extern int geometry_xy_changed;
int geometry(int *xpos, int *ypos, int *widw, int *widh, int scrw, int scrh);
#endif /* !GEOMETRY_H */