Commit 9deb1709 authored by conrad's avatar conrad

added all metrics check in oggz_seek_set


git-svn-id: http://svn.annodex.net/liboggz/trunk@389 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent 1aa7da3c
......@@ -815,7 +815,7 @@ oggz_seek_set (OGGZ * oggz, ogg_int64_t unit_target)
return -1;
}
if (unit_target > 0 && oggz->metric == NULL) {
if (unit_target > 0 && !oggz_has_metrics (oggz)) {
/* No metric defined */
return -1;
}
......
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