mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-15 07:01:18 +02:00
ImportFileHandle::GetStreamInfo returns reference. Don't dereference NULLs.
This commit is contained in:
@@ -99,7 +99,11 @@ public:
|
||||
|
||||
wxInt32 GetStreamCount(){ return 1; }
|
||||
|
||||
wxArrayString *GetStreamInfo(){ return NULL; }
|
||||
const wxArrayString &GetStreamInfo() override
|
||||
{
|
||||
static wxArrayString empty;
|
||||
return empty;
|
||||
}
|
||||
|
||||
void SetStreamUsage(wxInt32 WXUNUSED(StreamID), bool WXUNUSED(Use)){}
|
||||
|
||||
|
Reference in New Issue
Block a user