mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-04-01 22:49:21 +00:00
lavc/libdavs2: Cosmetics: Fix indentation for switch statement
Cosmetics: Fix indentation for switch statement like the Linux kerenl style. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
This commit is contained in:
parent
1087b792c3
commit
807b57a31b
@ -83,23 +83,23 @@ static int davs2_dump_frames(AVCodecContext *avctx, davs2_picture_t *pic, int *g
|
|||||||
}
|
}
|
||||||
|
|
||||||
switch (pic->type) {
|
switch (pic->type) {
|
||||||
case DAVS2_PIC_I:
|
case DAVS2_PIC_I:
|
||||||
case DAVS2_PIC_G:
|
case DAVS2_PIC_G:
|
||||||
frame->pict_type = AV_PICTURE_TYPE_I;
|
frame->pict_type = AV_PICTURE_TYPE_I;
|
||||||
break;
|
break;
|
||||||
case DAVS2_PIC_P:
|
case DAVS2_PIC_P:
|
||||||
case DAVS2_PIC_S:
|
case DAVS2_PIC_S:
|
||||||
frame->pict_type = AV_PICTURE_TYPE_P;
|
frame->pict_type = AV_PICTURE_TYPE_P;
|
||||||
break;
|
break;
|
||||||
case DAVS2_PIC_B:
|
case DAVS2_PIC_B:
|
||||||
frame->pict_type = AV_PICTURE_TYPE_B;
|
frame->pict_type = AV_PICTURE_TYPE_B;
|
||||||
break;
|
break;
|
||||||
case DAVS2_PIC_F:
|
case DAVS2_PIC_F:
|
||||||
frame->pict_type = AV_PICTURE_TYPE_S;
|
frame->pict_type = AV_PICTURE_TYPE_S;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
av_log(avctx, AV_LOG_ERROR, "Decoder error: unknown frame type\n");
|
av_log(avctx, AV_LOG_ERROR, "Decoder error: unknown frame type\n");
|
||||||
return AVERROR_EXTERNAL;
|
return AVERROR_EXTERNAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (plane = 0; plane < 3; ++plane) {
|
for (plane = 0; plane < 3; ++plane) {
|
||||||
|
Loading…
Reference in New Issue
Block a user