mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-21 22:36:59 +00:00
cosmetics: indentation
Originally committed as revision 8593 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ca345e442d
commit
f8fb86e9bb
@ -2046,16 +2046,15 @@ static int mjpeg_decode_frame(AVCodecContext *avctx,
|
|||||||
*(dst++) = x;
|
*(dst++) = x;
|
||||||
if (avctx->codec_id != CODEC_ID_THP)
|
if (avctx->codec_id != CODEC_ID_THP)
|
||||||
{
|
{
|
||||||
if (x == 0xff)
|
if (x == 0xff) {
|
||||||
{
|
while (src < buf_end && x == 0xff)
|
||||||
while(src<buf_end && x == 0xff)
|
x = *(src++);
|
||||||
x = *(src++);
|
|
||||||
|
|
||||||
if (x >= 0xd0 && x <= 0xd7)
|
if (x >= 0xd0 && x <= 0xd7)
|
||||||
*(dst++) = x;
|
*(dst++) = x;
|
||||||
else if (x)
|
else if (x)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
init_get_bits(&s->gb, s->buffer, (dst - s->buffer)*8);
|
init_get_bits(&s->gb, s->buffer, (dst - s->buffer)*8);
|
||||||
|
Loading…
Reference in New Issue
Block a user