You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-14 22:15:12 +02:00
lavc: horizontal align for IFF
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user