diff options
author | Juergen Keil <jkeil@users.sourceforge.net> | 2001-10-03 15:16:02 +0000 |
---|---|---|
committer | Juergen Keil <jkeil@users.sourceforge.net> | 2001-10-03 15:16:02 +0000 |
commit | a69f1386e4215f08c55b3f9837db18e7d666d020 (patch) | |
tree | 514b6aa6562c1bbf71eac3716152274fa2303199 | |
parent | 5ccaed110e02488e221cd2a945c95c3ecf5ea1ca (diff) | |
download | xine-lib-a69f1386e4215f08c55b3f9837db18e7d666d020.tar.gz xine-lib-a69f1386e4215f08c55b3f9837db18e7d666d020.tar.bz2 |
Remove use of gcc extension (initializing non-static/automatic array).
CVS patchset: 725
CVS date: 2001/10/03 15:16:02
-rw-r--r-- | src/xine-engine/xine.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index 6d6721be8..d836444e4 100644 --- a/src/xine-engine/xine.c +++ b/src/xine-engine/xine.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine.c,v 1.61 2001/10/01 23:04:57 f1rmb Exp $ + * $Id: xine.c,v 1.62 2001/10/03 15:16:02 jkeil Exp $ * * top-level xine functions * @@ -115,9 +115,11 @@ void xine_stop (xine_t *this) { static int try_demux_with_stages(xine_t *this, const char *MRL, int stage1, int stage2) { int s = 0, i; - int stages[3] = { - stage1, stage2, -1 - }; + int stages[3]; + + stages[0] = stage1; + stages[1] = stage2; + stages[2] = -1; if(stages[0] == -1) { fprintf(stderr, "%s(%d) wrong first stage = %d !!\n", |