Merge commit 'ab7c64624a1254d509b71c2a4945336567e93845'

* commit 'ab7c64624a1254d509b71c2a4945336567e93845':
  sgi: remove redundant argument from read_uncompressed_sgi()

Conflicts:
	libavcodec/sgidec.c

See: 0f65693529
Merged-by: Michael Niedermayer <michaelni@gmx.at>
pull/64/head
Michael Niedermayer 11 years ago
commit 5628b9f5fb
  1. 3
      libavcodec/sgidec.c

@ -122,8 +122,7 @@ static int read_rle_sgi(uint8_t *out_buf, SgiState *s)
* @param s the current image state * @param s the current image state
* @return 0 if read success, else return error code. * @return 0 if read success, else return error code.
*/ */
static int read_uncompressed_sgi(unsigned char *out_buf, static int read_uncompressed_sgi(unsigned char *out_buf, SgiState *s)
SgiState *s)
{ {
int x, y, z; int x, y, z;
unsigned int offset = s->height * s->width * s->bytes_per_channel; unsigned int offset = s->height * s->width * s->bytes_per_channel;

Loading…
Cancel
Save