Skip to content
Snippets Groups Projects
Commit d99fbbf4 authored by Roberto Togni's avatar Roberto Togni
Browse files

Force alignement for rpza and smc

Originally committed as revision 3262 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 44602899
No related branches found
No related tags found
No related merge requests found
...@@ -159,6 +159,16 @@ void avcodec_align_dimensions(AVCodecContext *s, int *width, int *height){ ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment