Merge commit 'b82170336f90d06c645d8252ddeccfc92c2f9ccb' into release/2.4

* commit 'b82170336f90d06c645d8252ddeccfc92c2f9ccb':
  tiffenc: initialize return value

Conflicts:
	libavcodec/tiffenc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-01-18 02:00:54 +01:00
commit 49f477071d

View File

@ -252,7 +252,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
int bytes_per_row;
uint32_t res[2] = { s->dpi, 1 }; // image resolution (72/1)
uint16_t bpp_tab[4];
int ret = -1;
int ret = 0;
int is_yuv = 0, alpha = 0;
int shift_h, shift_v;
int packet_size;