aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-10-31 16:46:50 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-10-31 16:46:50 +0100
commit08bef053a087d71a795672f6a58c4c28ec84ef13 (patch)
tree7512139f337e11320aab205a8a4d747aa217214b
parenta14a0d7c2cd85e8e360d97d110f82591bacc880d (diff)
downloadffmpeg-08bef053a087d71a795672f6a58c4c28ec84ef13.tar.gz
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>
-rw-r--r--libavcodec/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 80e4e74b8f..e4942263d6 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -224,7 +224,7 @@ void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height, int l
#if HAVE_MMX
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_VP6A) {
+ s->codec_id == CODEC_ID_VP6A || s->codec_id == CODEC_ID_DIRAC) {
linesize_align[0] =
linesize_align[1] =
linesize_align[2] = 16;