Merge commit '7a5a55722749a3ab77941914707277b147322cbe'

* commit '7a5a55722749a3ab77941914707277b147322cbe':
  qpeg: Add checks for running out of rows in qpeg_decode_inter

Conflicts:
	libavcodec/qpeg.c

See: 4299dfa5de
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-09-20 13:20:06 +02:00
commit 61a8eaf711

View File

@ -193,7 +193,7 @@ static void qpeg_decode_inter(QpegContext *qctx, uint8_t *dst,
filled = 0; filled = 0;
dst -= stride; dst -= stride;
height--; height--;
if(height < 0) if (height < 0)
break; break;
} }
} }
@ -209,7 +209,7 @@ static void qpeg_decode_inter(QpegContext *qctx, uint8_t *dst,
filled = 0; filled = 0;
dst -= stride; dst -= stride;
height--; height--;
if(height < 0) if (height < 0)
break; break;
} }
} }