diff options
Diffstat (limited to 'rotord/rotor.cpp')
| -rw-r--r-- | rotord/rotor.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rotord/rotor.cpp b/rotord/rotor.cpp index 0a3a502..07ea2b7 100644 --- a/rotord/rotor.cpp +++ b/rotord/rotor.cpp @@ -405,8 +405,9 @@ bool Render_context::load_audio(const string &filename,vector<base_audio_process if (processedLength < 0) { - av_free_packet(&packet); - throw std::runtime_error("Error while processing the data"); + //av_free_packet(&packet); shouldn't have to because of type safe wrapper + cerr <<"Error while processing the data"<< endl; + return false; } offsetInData += processedLength; |
