shithub: opusfile

Download patch

ref: e8e3046572dd0369b8346a4af8e34d283b385c59
parent: 3d431ff8efb44fc5cf73d2a1a4b2a11927c8e46f
author: Mark Harris <mark.hsj@gmail.com>
date: Sun Jun 10 19:47:59 EDT 2018

opus_tags_copy: return OP_EFAULT on failure

--- a/src/info.c
+++ b/src/info.c
@@ -282,7 +282,7 @@
   ret=opus_tags_copy_impl(&dst,_src);
   if(OP_UNLIKELY(ret<0))opus_tags_clear(&dst);
   else *_dst=*&dst;
-  return 0;
+  return ret;
 }
 
 int opus_tags_add(OpusTags *_tags,const char *_tag,const char *_value){