diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-05-02 20:28:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-05-02 21:41:39 +0300 |
commit | c826566ce341cfa6bb02c733a5c70e26542bee9e (patch) | |
tree | 2420f32fb1ed7ee2342d7e1ea657e38c6a6298c2 /source/blender/blenkernel/intern/sequencer.c | |
parent | 8e4ac2d229fff53ed7bd7dee638fc0f004c1e12c (diff) |
Sound now returns even if file fails to load
With various codecs its hard to ensure a sound will load or not.
Diffstat (limited to 'source/blender/blenkernel/intern/sequencer.c')
-rw-r--r-- | source/blender/blenkernel/intern/sequencer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c index f370570750f..d1893513a4f 100644 --- a/source/blender/blenkernel/intern/sequencer.c +++ b/source/blender/blenkernel/intern/sequencer.c @@ -4974,7 +4974,7 @@ Sequence *BKE_sequencer_add_sound_strip(bContext *C, ListBase *seqbasep, SeqLoad sound = BKE_sound_new_file(bmain, seq_load->path); /* handles relative paths */ - if (sound == NULL || sound->playback_handle == NULL) { + if (sound->playback_handle == NULL) { #if 0 if (op) BKE_report(op->reports, RPT_ERROR, "Unsupported audio format"); |