Browse Source

sunrastenc: mention missing break

Bug-Id: CID 732231
tags/n2.5
Vittorio Giovara 11 years ago
parent
commit
4dda5e9b08
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/sunrastenc.c

+ 1
- 0
libavcodec/sunrastenc.c View File

@@ -169,6 +169,7 @@ static av_cold int sunrast_encode_init(AVCodecContext *avctx)
case AV_PIX_FMT_PAL8 : case AV_PIX_FMT_PAL8 :
s->maptype = RMT_EQUAL_RGB; s->maptype = RMT_EQUAL_RGB;
s->maplength = 3 * 256; s->maplength = 3 * 256;
/* fall-through */
case AV_PIX_FMT_GRAY8: case AV_PIX_FMT_GRAY8:
s->depth = 8; s->depth = 8;
break; break;


Loading…
Cancel
Save