diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-06-06 22:13:23 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-06-06 22:13:23 +0000 |
commit | 62f32ccb010070501ed2d518d31cb788e37f7b3d (patch) | |
tree | 213f3085001e6c7c878e657bac0f2ab098b96770 /src/outputBuffer.h | |
parent | 33f21b9374d3f57210e5e58881bf67662eaaec3f (diff) | |
download | mpd-62f32ccb010070501ed2d518d31cb788e37f7b3d.tar.gz mpd-62f32ccb010070501ed2d518d31cb788e37f7b3d.tar.xz mpd-62f32ccb010070501ed2d518d31cb788e37f7b3d.zip |
harden metadatabuffer
git-svn-id: https://svn.musicpd.org/mpd/trunk@1362 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/outputBuffer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/outputBuffer.h b/src/outputBuffer.h index 421035c1e..225ca54ca 100644 --- a/src/outputBuffer.h +++ b/src/outputBuffer.h @@ -41,7 +41,7 @@ typedef struct _OutputBuffer { mpd_sint8 volatile wrap; AudioFormat audioFormat; MetadataChunk metadataChunks[BUFFERED_METACHUNKS]; - mpd_sint8 metdataChunkSet[BUFFERED_METACHUNKS]; + mpd_sint8 metaChunkSet[BUFFERED_METACHUNKS]; mpd_sint8 * volatile metaChunk; volatile mpd_sint8 acceptMetadata; } OutputBuffer; @@ -56,8 +56,8 @@ int sendDataToOutputBuffer(OutputBuffer * cb, InputStream * inStream, DecoderControl * dc, int seekable, char * data, long datalen, float time, mpd_uint16 bitRate); -void copyMpdTagToOutputBuffer(OutputBuffer * cb, MpdTag * tag); +int copyMpdTagToOutputBuffer(OutputBuffer * cb, MpdTag * tag); -void zeroMetadataChunkSets(OutputBuffer * cb, int begin, int end, int wrap); +void clearAllMetaChunkSets(OutputBuffer * cb); #endif |