From 0d6abd03103cdaa7e8efef4cdb9e26ce13306586 Mon Sep 17 00:00:00 2001 From: michael Date: Fri, 7 Feb 2003 21:35:39 +0000 Subject: some more info (copy & pasted from ML) replacing zero terminated strings with length + string so it can allso contain binary data adding a type to every entry in the info_packet changing the fourcc storage type from v to b, that way it can be read with a hex editor git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9324 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/tech/mpcf.txt | 58 ++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 43 insertions(+), 15 deletions(-) diff --git a/DOCS/tech/mpcf.txt b/DOCS/tech/mpcf.txt index 5d382a5ede..b2235fdadb 100644 --- a/DOCS/tech/mpcf.txt +++ b/DOCS/tech/mpcf.txt @@ -42,13 +42,14 @@ v data u(7) value= 128*value + data }while(more_data) - -sz (zero terminated string) - for(i=0; next_byte != 0; i++){ - string[i] u(8) + +b (binary data or string) + length v + for(i=0; i String or "JPEG" -> jpeg image + 0 length means end + name the name of the info entry, valid names are - "Author","Description","Copyright","Encoder","Title" + "Author","Description","Copyright","Encoder","Title","CDCover" Note: if someone needs some others, please tell us about them, so we can add them to the official standard (if they are sane) -- cgit v1.2.3