Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Tiny little bug in cue processing (Read 2590 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Tiny little bug in cue processing

While working on my foo_cue_ex  I've found this tiny little buggy in original source code
taken from \foobar2000\foo_input_std\cue.cpp
Code: [Select]
if ( !strncmp (val, "FILE ", 5) ) {
  if ( !album_artist.is_empty() ) {
      tmp = string_printf ( "PERFORMER \"%s\"", (const char *)(album_artist) ); // no conversion from utf8
      int l = cue_makeline ( indent, tmp, temp );
      if ( l > 0 ) r->write ( (const char *)temp, l );
      album_artist.reset();
   }
if ( !album_title.is_empty() ) {
tmp = string_printf ( "TITLE \"%s\"", (const char *)string_ansi_from_utf8(album_title) );


Cheers,
Stepan
B KaCKe.