~ubuntu-branches/ubuntu/intrepid/xine-lib/intrepid-updates

« back to all changes in this revision

Viewing changes to src/demuxers/demux_mng.c

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-08-25 13:02:33 UTC
  • Revision ID: james.westby@ubuntu.com-20080825130233-mhhvi2k2qdtheskk
Tags: 1.1.14-3ubuntu1
* merge from debian unstable. Remaining changes:
  - disable the jack plugin
  - Modify Maintainer value to match the DebianMaintainerField
    specification.
* update XS-Vcs-Url to public branch location.

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
  this->bih.biHeight = height;
117
117
  this->left_edge = (this->bih.biWidth - width) / 2;
118
118
 
119
 
  this->image = malloc(this->bih.biWidth * height * 3);
 
119
  this->image = malloc((mng_size_t)this->bih.biWidth * (mng_size_t)height * 3);
 
120
  if (!this->image)
 
121
    return MNG_FALSE;
120
122
 
121
123
  mng_set_canvasstyle(mngh, MNG_CANVAS_RGB8);
122
124