Commit c91d2ebd authored by conrad's avatar conrad

changed error return value internal to oggz_read_sync


git-svn-id: http://svn.annodex.net/liboggz/trunk@377 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent 37d63c77
......@@ -237,7 +237,7 @@ oggz_read_sync (OGGZ * oggz)
/* new stream ... check bos etc. */
if ((stream = oggz_add_stream (oggz, serialno)) == NULL) {
/* error -- could not add stream */
return -1;
return -7;
}
}
os = &stream->ogg_stream;
......@@ -246,7 +246,7 @@ oggz_read_sync (OGGZ * oggz)
if(result == -1) {
/* hole in the data. */
return -1;
return -7;
}
if(result > 0){
......@@ -287,7 +287,7 @@ oggz_read_sync (OGGZ * oggz)
/* new stream ... check bos etc. */
if ((stream = oggz_add_stream (oggz, serialno)) == NULL) {
/* error -- could not add stream */
return -1;
return -7;
}
}
os = &stream->ogg_stream;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment