avcodec/ansi: add fall-through annotations
This commit is contained in:
@@ -24,6 +24,7 @@
|
|||||||
* ASCII/ANSI art decoder
|
* ASCII/ANSI art decoder
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "libavutil/attributes.h"
|
||||||
#include "libavutil/common.h"
|
#include "libavutil/common.h"
|
||||||
#include "libavutil/frame.h"
|
#include "libavutil/frame.h"
|
||||||
#include "libavutil/xga_font_data.h"
|
#include "libavutil/xga_font_data.h"
|
||||||
@@ -396,6 +397,7 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *rframe,
|
|||||||
break;
|
break;
|
||||||
case 0x0A: //LF
|
case 0x0A: //LF
|
||||||
hscroll(avctx);
|
hscroll(avctx);
|
||||||
|
av_fallthrough;
|
||||||
case 0x0D: //CR
|
case 0x0D: //CR
|
||||||
s->x = 0;
|
s->x = 0;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user