]> git.tuebingen.mpg.de Git - paraslash.git/commit
simplify vss_read_chunk()
authorAndre Noll <maan@systemlinux.org>
Sun, 4 Mar 2007 22:22:43 +0000 (23:22 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 4 Mar 2007 22:22:43 +0000 (23:22 +0100)
commit02d14b8dab5d70d73402fb12a6bd642f70287b52
treee9171dd827e396b91bfbb42cf63d2abf6e59b2fb
parent4cfbdce5e460934d4724cac63aa718ea6c7af199
simplify vss_read_chunk()

All its parameters are known globally within vss.c, so omit them.
Also, return an int instead of the pointer to the inbuffer which is
also known to the caller.

This patch also introduces para_fseek() in fd.c which is used by
mp3.c and vss.c and changes the mp3 audio format handler so that it
uses the new function and always check the return value.
error.h
fd.c
fd.h
mp3_afh.c
vss.c