1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-23 21:54:53 +02:00

whitespace cosmetics

Originally committed as revision 4248 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Ivan Kalvachev
2005-05-16 14:55:22 +00:00
parent d3f28f0526
commit 42cc17f926

View File

@@ -586,12 +586,12 @@ static int decode_advanced_sequence_header(AVCodecContext *avctx, GetBitContext
av_log(avctx, AV_LOG_ERROR, av_log(avctx, AV_LOG_ERROR,
"Reserved FRAMERATENR %i not handled\n", nr); "Reserved FRAMERATENR %i not handled\n", nr);
nr = 5; /* overflow protection */ nr = 5; /* overflow protection */
} }
if (dr<1) if (dr<1)
{ {
av_log(avctx, AV_LOG_ERROR, "0 is forbidden for FRAMERATEDR\n"); av_log(avctx, AV_LOG_ERROR, "0 is forbidden for FRAMERATEDR\n");
return -1; return -1;
} }
if (dr>2) if (dr>2)
{ {
av_log(avctx, AV_LOG_ERROR, av_log(avctx, AV_LOG_ERROR,
@@ -2413,25 +2413,25 @@ static int vc9_decode_frame(AVCodecContext *avctx,
if (avctx->codec_id == CODEC_ID_VC9) if (avctx->codec_id == CODEC_ID_VC9)
{ {
#if 0 #if 0
// search for IDU's // search for IDU's
// FIXME // FIXME
uint32_t scp = 0; uint32_t scp = 0;
int scs = 0, i = 0; int scs = 0, i = 0;
while (i < buf_size) while (i < buf_size)
{ {
for (; i < buf_size && scp != 0x000001; i++) for (; i < buf_size && scp != 0x000001; i++)
scp = ((scp<<8)|buf[i])&0xffffff; scp = ((scp<<8)|buf[i])&0xffffff;
if (scp != 0x000001) if (scp != 0x000001)
break; // eof ? break; // eof ?
scs = buf[i++]; scs = buf[i++];
init_get_bits(gb, buf+i, (buf_size-i)*8); init_get_bits(gb, buf+i, (buf_size-i)*8);
switch(scs) switch(scs)
{ {
case 0x0A: //Sequence End Code case 0x0A: //Sequence End Code
return 0; return 0;
case 0x0B: //Slice Start Code case 0x0B: //Slice Start Code
@@ -2456,10 +2456,10 @@ static int vc9_decode_frame(AVCodecContext *avctx,
"Unsupported IDU suffix %lX\n", scs); "Unsupported IDU suffix %lX\n", scs);
} }
i += get_bits_count(gb)*8; i += get_bits_count(gb)*8;
} }
#else #else
av_abort(); av_abort();
#endif #endif
} }
else else