aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-11-13 13:30:59 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-11-13 13:31:08 +0100
commitccfae038152bf48c98681f5c4a839393313f98db (patch)
tree0adc4e80e117edfb50758cad4e6408d8d4f91476 /libavcodec
parentef4e54e0df444142b7c975340df7ac478a598d20 (diff)
parent4dda5e9b0829b119c17d950906c61d3ebffc494f (diff)
downloadffmpeg-ccfae038152bf48c98681f5c4a839393313f98db.tar.gz
Merge commit '4dda5e9b0829b119c17d950906c61d3ebffc494f'
* commit '4dda5e9b0829b119c17d950906c61d3ebffc494f': sunrastenc: mention missing break Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/sunrastenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/sunrastenc.c b/libavcodec/sunrastenc.c
index a55e3d439a..cff8c85c3f 100644
--- a/libavcodec/sunrastenc.c
+++ b/libavcodec/sunrastenc.c
@@ -158,6 +158,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;