diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-10-25 11:35:49 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-10-25 11:35:49 +0000 |
commit | 57f66fc1d034466b8bd0232e4bfd4b8f9bf02da2 (patch) | |
tree | f73cd6d89dc3982ce2a6c6cd931993a69fa83b5d /libs | |
parent | aad62fc6608ccbb6edd9c5cb94e2721edd890bec (diff) |
fix setting of BWF info (from 3.0). thanks carl
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5911 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/sndfilesource.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/sndfilesource.cc b/libs/ardour/sndfilesource.cc index 0217c01d4f..b907b9739a 100644 --- a/libs/ardour/sndfilesource.cc +++ b/libs/ardour/sndfilesource.cc @@ -179,7 +179,7 @@ SndFileSource::SndFileSource (Session& s, ustring path, SampleFormat sfmt, Heade /* coding history is added by libsndfile */ - if (sf_command (sf, SFC_SET_BROADCAST_INFO, _broadcast_info, sizeof (_broadcast_info)) != SF_TRUE) { + if (sf_command (sf, SFC_SET_BROADCAST_INFO, _broadcast_info, sizeof (*_broadcast_info)) != SF_TRUE) { char errbuf[256]; sf_error_str (0, errbuf, sizeof (errbuf) - 1); error << string_compose (_("cannot set broadcast info for audio file %1 (%2); dropping broadcast info for this file"), _path, errbuf) << endmsg; |