search for: streams_list

Displaying 1 result from an estimated 1 matches for "streams_list".

2000 Jun 19
1
PATCH: Falling off the end of linked lists.
...=========================== RCS file: /usr/local/cvsroot/vorbis/vorbis-tools/ogg123.c,v retrieving revision 1.1 diff -u -r1.1 ogg123.c --- vorbis-tools/ogg123.c 2000/06/14 23:07:47 1.1 +++ vorbis-tools/ogg123.c 2000/06/19 14:44:16 @@ -104,20 +104,28 @@ FILE * get_stream (int num, struct streams * streams_list) { - if (num < 0) + if (streams_list != NULL) { - fprintf (stderr, "Internal error: get_stream called with a negative argument.\n"); - exit (1); + if (num < 0) + { + fprintf (stderr, "Internal error: get_stream called with a negative argument.\n");...