Commit 707b9fea authored by Max Kellermann's avatar Max Kellermann

decoder/flac: removed redundant NULL checks

After the decoder loop, "flac_dec" is always set.
parent d605329f
...@@ -483,8 +483,6 @@ flac_decode_internal(struct decoder * decoder, ...@@ -483,8 +483,6 @@ flac_decode_internal(struct decoder * decoder,
fail: fail:
flac_data_deinit(&data); flac_data_deinit(&data);
if (flac_dec)
flac_delete(flac_dec); flac_delete(flac_dec);
if (err) if (err)
...@@ -665,8 +663,6 @@ fail: ...@@ -665,8 +663,6 @@ fail:
g_free(pathname); g_free(pathname);
flac_data_deinit(&data); flac_data_deinit(&data);
if (flac_dec)
flac_delete(flac_dec); flac_delete(flac_dec);
if (err) if (err)
...@@ -787,8 +783,6 @@ flac_filedecode_internal(struct decoder* decoder, ...@@ -787,8 +783,6 @@ flac_filedecode_internal(struct decoder* decoder,
fail: fail:
flac_data_deinit(&data); flac_data_deinit(&data);
if (flac_dec)
flac_delete(flac_dec); flac_delete(flac_dec);
if (err) if (err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment