summaryrefslogtreecommitdiff
path: root/libavcodec/sunrastenc.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2014-11-11 17:40:01 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-11-13 01:41:26 +0100
commit4dda5e9b0829b119c17d950906c61d3ebffc494f (patch)
tree4d5016c327ce3f24c90c75d2802c43608bd0163d /libavcodec/sunrastenc.c
parent28d82b7675bea76a1349070a3cdd737d964d4775 (diff)
sunrastenc: mention missing break
Bug-Id: CID 732231
Diffstat (limited to 'libavcodec/sunrastenc.c')
-rw-r--r--libavcodec/sunrastenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/sunrastenc.c b/libavcodec/sunrastenc.c
index 25ae9bd039..8e90a6cc87 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;