Fix segfault in db_file_update

Fix wrong type (%Q instead of %d) for tv_episode_sort and tv_season_num in
the SQL query for db_file_update().
This commit is contained in:
Julien BLACHE 2009-12-27 08:19:16 +01:00
parent a52dcd264c
commit 371725b0da

View File

@ -1361,7 +1361,7 @@ db_file_update(struct media_file_info *mfi)
" codectype = %Q, idx = %d, has_video = %d," \
" bits_per_sample = %d, album_artist = %Q," \
" media_kind = %d, tv_series_name = %Q, tv_episode_num_str = %Q," \
" tv_network_name = %Q, tv_episode_sort = %Q, tv_season_num = %Q" \
" tv_network_name = %Q, tv_episode_sort = %d, tv_season_num = %d" \
" WHERE id = %d;"
char *query;
char *errmsg;