--- libavcodec/mediacodecdec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/mediacodecdec.c b/libavcodec/mediacodecdec.c index d385651..b6e7c46 100644 --- a/libavcodec/mediacodecdec.c +++ b/libavcodec/mediacodecdec.c @@ -266,6 +266,8 @@ static int mediacodec_dec_parse_format(AVCodecContext *avctx, MediaCodecDecConte } else if (strstr(s->codec_name, "OMX.SEC.avc.dec")) { s->slice_height = avctx->height; s->stride = avctx->width; + } else if (strstr(s->codec_name, "OMX.allwinner.video.decoder.avc")) { + s->stride = avctx->width; } if (!ff_AMediaFormat_getInt32(s->format, "color-format", &value)) { -- 1.9.1
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel