mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec_align_dimensions2: add missing breaks
This should have just cosmetic effects Fixes CID603265 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
2470851f12
commit
d86ef54476
@ -246,11 +246,13 @@ void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height,
|
||||
w_align = 64;
|
||||
h_align = 64;
|
||||
}
|
||||
break;
|
||||
case AV_PIX_FMT_RGB555:
|
||||
if (s->codec_id == AV_CODEC_ID_RPZA) {
|
||||
w_align = 4;
|
||||
h_align = 4;
|
||||
}
|
||||
break;
|
||||
case AV_PIX_FMT_PAL8:
|
||||
case AV_PIX_FMT_BGR8:
|
||||
case AV_PIX_FMT_RGB8:
|
||||
|
Loading…
Reference in New Issue
Block a user