[FFmpeg-cvslog] avcodec_align_dimensions2: add missing breaks

Michael Niedermayer git at videolan.org
Fri Oct 19 19:02:18 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Oct 19 18:38:53 2012 +0200| [d86ef54476b3775bb751f9fcc739a79b5aab428a] | committer: Michael Niedermayer

avcodec_align_dimensions2: add missing breaks

This should have just cosmetic effects

Fixes CID603265
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d86ef54476b3775bb751f9fcc739a79b5aab428a
---

 libavcodec/utils.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 926fdee..bdc0c8a 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -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:



More information about the ffmpeg-cvslog mailing list