mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-26 21:10:34 +00:00
lavc: horizontal align for IFF
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
8d5078c10b
commit
fd3e75d2d4
@ -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…
Reference in New Issue
Block a user