mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-11-01 21:12:53 +08:00
dirac: fix stride alignment
This code was already added by Yuvi in c82cbea68273c6f08c4d0e94fc9fd50bfdea4e2b It was subsequently lost somehow Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -224,7 +224,7 @@ void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height, int l
|
|||||||
#if HAVE_MMX
|
#if HAVE_MMX
|
||||||
if(s->codec_id == CODEC_ID_SVQ1 || s->codec_id == CODEC_ID_VP5 ||
|
if(s->codec_id == CODEC_ID_SVQ1 || s->codec_id == CODEC_ID_VP5 ||
|
||||||
s->codec_id == CODEC_ID_VP6 || s->codec_id == CODEC_ID_VP6F ||
|
s->codec_id == CODEC_ID_VP6 || s->codec_id == CODEC_ID_VP6F ||
|
||||||
s->codec_id == CODEC_ID_VP6A) {
|
s->codec_id == CODEC_ID_VP6A || s->codec_id == CODEC_ID_DIRAC) {
|
||||||
linesize_align[0] =
|
linesize_align[0] =
|
||||||
linesize_align[1] =
|
linesize_align[1] =
|
||||||
linesize_align[2] = 16;
|
linesize_align[2] = 16;
|
||||||
|
|||||||
Reference in New Issue
Block a user