[libav-commits] sunrastenc: mention missing break

Vittorio Giovara git at libav.org
Thu Nov 13 01:46:54 CET 2014


Module: libav
Branch: master
Commit: 4dda5e9b0829b119c17d950906c61d3ebffc494f

Author:    Vittorio Giovara <vittorio.giovara at gmail.com>
Committer: Vittorio Giovara <vittorio.giovara at gmail.com>
Date:      Tue Nov 11 17:40:01 2014 +0100

sunrastenc: mention missing break

Bug-Id: CID 732231

---

 libavcodec/sunrastenc.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/sunrastenc.c b/libavcodec/sunrastenc.c
index 25ae9bd..8e90a6c 100644
--- a/libavcodec/sunrastenc.c
+++ b/libavcodec/sunrastenc.c
@@ -169,6 +169,7 @@ static av_cold int sunrast_encode_init(AVCodecContext *avctx)
     case AV_PIX_FMT_PAL8 :
         s->maptype   = RMT_EQUAL_RGB;
         s->maplength = 3 * 256;
+        /* fall-through */
     case AV_PIX_FMT_GRAY8:
         s->depth = 8;
         break;



More information about the libav-commits mailing list