bump version of isodump file

git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@148 53a565d1-3bb7-0310-b661-cf11e63c67ab
This commit is contained in:
ddennedy 2004-11-19 02:15:15 +00:00
parent eb9b08bd5c
commit a07ba8cee9
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ void parse_args(int argc, char **argv)
void write_header() void write_header()
{ {
static char header[32] = "1394 isodump v1"; static char header[32] = "1394 isodump v2";
int i; int i;
for (i = 0; i < 8; i++) for (i = 0; i < 8; i++)

View File

@ -239,7 +239,7 @@ void send_iso_file(raw1394handle_t handle)
} }
if (memcmp("1394 isodump v", buffer, 14)) goto bad_format; if (memcmp("1394 isodump v", buffer, 14)) goto bad_format;
if (buffer[14] != '1') goto wrong_version; if (buffer[14] != '2') goto wrong_version;
while (1) { while (1) {
send_file_once(handle, file); send_file_once(handle, file);