You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/mjpegenc: Reindent after the previous commit
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -466,7 +466,6 @@ static void encode_block(MpegEncContext *s, int16_t *block, int n)
|
||||
static void mjpeg_record_mb(MpegEncContext *const s, int16_t block[][64],
|
||||
int unused_x, int unused_y)
|
||||
{
|
||||
int i;
|
||||
if (s->chroma_format == CHROMA_444) {
|
||||
record_block(s, block[0], 0);
|
||||
record_block(s, block[2], 2);
|
||||
@ -484,9 +483,8 @@ static void mjpeg_record_mb(MpegEncContext *const s, int16_t block[][64],
|
||||
record_block(s, block[11], 11);
|
||||
}
|
||||
} else {
|
||||
for(i=0;i<5;i++) {
|
||||
for (int i = 0; i < 5; i++)
|
||||
record_block(s, block[i], i);
|
||||
}
|
||||
if (s->chroma_format == CHROMA_420) {
|
||||
record_block(s, block[5], 5);
|
||||
} else {
|
||||
@ -500,7 +498,6 @@ static void mjpeg_record_mb(MpegEncContext *const s, int16_t block[][64],
|
||||
static void mjpeg_encode_mb(MpegEncContext *const s, int16_t block[][64],
|
||||
int unused_x, int unused_y)
|
||||
{
|
||||
int i;
|
||||
if (s->chroma_format == CHROMA_444) {
|
||||
encode_block(s, block[0], 0);
|
||||
encode_block(s, block[2], 2);
|
||||
@ -518,9 +515,8 @@ static void mjpeg_encode_mb(MpegEncContext *const s, int16_t block[][64],
|
||||
encode_block(s, block[11], 11);
|
||||
}
|
||||
} else {
|
||||
for(i=0;i<5;i++) {
|
||||
for (int i = 0; i < 5; i++)
|
||||
encode_block(s, block[i], i);
|
||||
}
|
||||
if (s->chroma_format == CHROMA_420) {
|
||||
encode_block(s, block[5], 5);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user