Commit b03c386f authored by Stefan Westerfeld's avatar Stefan Westerfeld

Fix data bit generation.

Signed-off-by: Stefan Westerfeld's avatarStefan Westerfeld <stefan@space.twc.de>
parent 0d93d0b7
...@@ -774,7 +774,8 @@ add_watermark (const string& infile, const string& outfile, const string& bits) ...@@ -774,7 +774,8 @@ add_watermark (const string& infile, const string& outfile, const string& bits)
} }
out_stream->write_frames (samples); out_stream->write_frames (samples);
if (frame_number++ == frame_bound) frame_number++;
if (frame_number == frame_bound)
{ {
frame_number = 0; frame_number = 0;
......
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