Changeset 56fa1e0 for src/io


Ignore:
Timestamp:
Dec 17, 2018, 3:10:37 PM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/crepe, fix/ffmpeg5, master
Children:
252f585
Parents:
4c37e87
Message:

[io] sink_vorbis: prevent crash when closing twice

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/sink_vorbis.c

    r4c37e87 r56fa1e0  
    292292uint_t aubio_sink_vorbis_close (aubio_sink_vorbis_t *s)
    293293{
     294  if (!s->fid) return AUBIO_FAIL;
    294295  //mark the end of stream
    295296  vorbis_analysis_wrote(&s->vd, 0);
Note: See TracChangeset for help on using the changeset viewer.