1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Force alignement for rpza and smc

Originally committed as revision 3262 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Roberto Togni 2004-06-27 11:07:05 +00:00
parent 4460289911
commit d99fbbf4d7

View File

@ -159,6 +159,16 @@ void avcodec_align_dimensions(AVCodecContext *s, int *width, int *height){
w_align=64; w_align=64;
h_align=64; h_align=64;
} }
case PIX_FMT_RGB555:
if(s->codec_id == CODEC_ID_RPZA){
w_align=4;
h_align=4;
}
case PIX_FMT_PAL8:
if(s->codec_id == CODEC_ID_SMC){
w_align=4;
h_align=4;
}
break; break;
default: default:
w_align= 1; w_align= 1;