libFLAC/metadata_object.c: Fix typo in number
authorErik de Castro Lopo <erikd@mega-nerd.com>
Tue, 6 Dec 2016 08:44:37 +0000 (19:44 +1100)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Tue, 6 Dec 2016 09:05:38 +0000 (20:05 +1100)
As pointed out by Evan Ramos there was typo, `32786` instead of
`32768`.

src/libFLAC/metadata_object.c

index 93bf68b..9cb9501 100644 (file)
@@ -1123,7 +1123,7 @@ FLAC_API FLAC__bool FLAC__metadata_object_seektable_template_append_spaced_point
                /* Put a strict upper bound on the number of allowed seek points. */
                if (num > 32768) {
                        /* Set the bound and recalculate samples accordingly. */
-                       num = 32786;
+                       num = 32768;
                        samples = total_samples / num;
                }