src/codecs/music_flac.c
changeset 1093 6f0bea2ab267
parent 1090 543b77a3c0eb
child 1099 a3c637d1a698
     1.1 --- a/src/codecs/music_flac.c	Tue Dec 17 21:56:56 2019 +0300
     1.2 +++ b/src/codecs/music_flac.c	Wed Dec 18 15:51:40 2019 +0300
     1.3 @@ -555,9 +555,9 @@
     1.4      if (was_error) {
     1.5          switch (init_stage) {
     1.6              case 2:
     1.7 -                flac.FLAC__stream_decoder_finish(music->flac_decoder);
     1.8 +                flac.FLAC__stream_decoder_finish(music->flac_decoder); /* fallthrough */
     1.9              case 1:
    1.10 -                flac.FLAC__stream_decoder_delete(music->flac_decoder);
    1.11 +                flac.FLAC__stream_decoder_delete(music->flac_decoder); /* fallthrough */
    1.12              case 0:
    1.13                  SDL_free(music);
    1.14                  break;
    1.15 @@ -568,7 +568,6 @@
    1.16      /* loop_start, loop_end and loop_len get set by metadata callback if tags
    1.17       * are present in metadata.
    1.18       */
    1.19 -
    1.20      full_length = flac.FLAC__stream_decoder_get_total_samples(music->flac_decoder);
    1.21      if (((music->loop_start >= 0) || (music->loop_end > 0)) &&
    1.22          ((music->loop_start < music->loop_end) || (music->loop_end > 0)) &&