~ubuntu-branches/ubuntu/trusty/opusfile/trusty

« back to all changes in this revision

Viewing changes to src/info.c

  • Committer: Package Import Robot
  • Author(s): Ron Lee
  • Date: 2013-05-13 21:43:40 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20130513214340-9p3jj0irk8afk7kd
Tags: 0.2+20130513-1
* Snapshot release for unstable.
* Fixes the pkg-config file to avoid overlinking.  Closes: #707969
* Split the URL handling into a separate library, so that linking with
  openssl is only an issue for people who do need that functionality.
  The main opusfile library can now be linked with anything again.
  Closes:  #708008

Show diffs side-by-side

added added

removed removed

Lines of Context:
190
190
  int   *comment_lengths;
191
191
  int    ncomments;
192
192
  ncomments=_tags->comments;
193
 
  user_comments=_ogg_realloc(_tags->user_comments,
 
193
  user_comments=(char **)_ogg_realloc(_tags->user_comments,
194
194
   sizeof(*_tags->user_comments)*(ncomments+2));
195
195
  if(OP_UNLIKELY(user_comments==NULL))return OP_EFAULT;
196
196
  _tags->user_comments=user_comments;
197
 
  comment_lengths=_ogg_realloc(_tags->comment_lengths,
 
197
  comment_lengths=(int *)_ogg_realloc(_tags->comment_lengths,
198
198
   sizeof(*_tags->comment_lengths)*(ncomments+2));
199
199
  if(OP_UNLIKELY(comment_lengths==NULL))return OP_EFAULT;
200
200
  _tags->comment_lengths=comment_lengths;