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:
parent
eb9b08bd5c
commit
a07ba8cee9
|
@ -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++)
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Reference in New Issue