On Mon, Mar 28, 2016 at 07:51:24PM +0300, Kirill Gavrilov wrote: > --- > libavcodec/mediacodecdec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/mediacodecdec.c b/libavcodec/mediacodecdec.c > index 5c1368f..c21ceba 100644 > --- a/libavcodec/mediacodecdec.c > +++ b/libavcodec/mediacodecdec.c > @@ -247,7 +247,7 @@ static int mediacodec_dec_parse_format(AVCodecContext > *avctx, MediaCodecDecConte > av_freep(&format); > return AVERROR_EXTERNAL; > } > - s->stride = value >= 0 ? value : s->width; > + s->stride = value > 0 ? value : s->width; > > if (!ff_AMediaFormat_getInt32(s->format, "slice-height", &value)) { > format = ff_AMediaFormat_toString(s->format); > -- > 2.6.1.windows.1
Applied, thanks. Matthieu _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel