]> git.sesse.net Git - ffmpeg/commitdiff
sunrastenc: mention missing break
authorVittorio Giovara <vittorio.giovara@gmail.com>
Tue, 11 Nov 2014 16:40:01 +0000 (17:40 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Thu, 13 Nov 2014 00:41:26 +0000 (01:41 +0100)
Bug-Id: CID 732231

libavcodec/sunrastenc.c

index 25ae9bd039aaf8a244536ad288447fde5efcb459..8e90a6cc8711d81cacd5b73565e155d4f953c88f 100644 (file)
@@ -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;