]> git.sesse.net Git - ffmpeg/commitdiff
avcodec_align_dimensions2: add missing breaks
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 19 Oct 2012 16:38:53 +0000 (18:38 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 19 Oct 2012 16:50:09 +0000 (18:50 +0200)
This should have just cosmetic effects

Fixes CID603265
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/utils.c

index 926fdee88b746ffafd8a35a184f2c6c48a0fe660..bdc0c8a973bfeaa977163e2ffaea9bd73618c4a2 100644 (file)
@@ -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: