Skip to content

Commit

Permalink
[smartpl] Increase size of parse output buffer
Browse files Browse the repository at this point in the history
To accommodate for larger smart playlists
  • Loading branch information
ejurgensen committed Mar 24, 2022
1 parent 03d05ea commit a932cc5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/parsers/smartpl_parser.y
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,13 @@ int smartpl_lex_parse(struct smartpl_result *result, const char *input);
#endif
}

/* Definition of struct that will hold the parsing result */
/* Definition of struct that will hold the parsing result
* Some users have sizeable smart playlists, e.g. listing many artist names,
* which translate to sizeable sql queries.
*/
%code requires {
struct result_part {
char str[512];
char str[4096];
int offset;
};

Expand Down

0 comments on commit a932cc5

Please sign in to comment.