[easytag] Add missing case when calling opus_tags_parse()
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag] Add missing case when calling opus_tags_parse()
- Date: Mon, 7 Sep 2015 15:10:31 +0000 (UTC)
commit a31b38c1c0fa9603ecf67b47ea622c59cf9eb2f5
Author: James Cowgill <james410 cowgill org uk>
Date: Mon Sep 7 15:43:11 2015 +0100
Add missing case when calling opus_tags_parse()
The case for a "successful" return value was missing so saving an opus
file was always causing easytag to abort at the assertion in the default
case block.
https://bugzilla.gnome.org/show_bug.cgi?id=754685
src/tags/vcedit.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/tags/vcedit.c b/src/tags/vcedit.c
index ba5443a..536170b 100644
--- a/src/tags/vcedit.c
+++ b/src/tags/vcedit.c
@@ -610,6 +610,9 @@ vcedit_open (EtOggState *state,
header->packet,
header->bytes))
{
+ case 0:
+ break;
+
case OP_ENOTFORMAT:
g_set_error (error, ET_OGG_ERROR,
ET_OGG_ERROR_HEADER,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]