Browse Source

lavc: horizontal align for IFF

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.9
Michael Niedermayer 13 years ago
parent
commit
fd3e75d2d4
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      libavcodec/utils.c

+ 4
- 0
libavcodec/utils.c View File

@@ -203,6 +203,10 @@ void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height, int l
break;
}

if(s->codec_id == CODEC_ID_IFF_ILBM || s->codec_id == CODEC_ID_IFF_BYTERUN1){
w_align= FFMAX(w_align, 8);
}

*width = FFALIGN(*width , w_align);
*height= FFALIGN(*height, h_align);
if(s->codec_id == CODEC_ID_H264 || s->lowres)


Loading…
Cancel
Save