Commit 7d1b1582 authored by Diego Biurrun's avatar Diego Biurrun

cosmetics: Put statements after 'if' on their own line.

Originally committed as revision 15906 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 8372e3d2
...@@ -905,11 +905,14 @@ static int svq3_decode_frame (AVCodecContext *avctx, ...@@ -905,11 +905,14 @@ static int svq3_decode_frame (AVCodecContext *avctx,
s->current_picture.key_frame = (s->pict_type == FF_I_TYPE); s->current_picture.key_frame = (s->pict_type == FF_I_TYPE);
/* Skip B-frames if we do not have reference frames. */ /* Skip B-frames if we do not have reference frames. */
if (s->last_picture_ptr == NULL && s->pict_type == FF_B_TYPE) return 0; if (s->last_picture_ptr == NULL && s->pict_type == FF_B_TYPE)
return 0;
/* Skip B-frames if we are in a hurry. */ /* Skip B-frames if we are in a hurry. */
if (avctx->hurry_up && s->pict_type == FF_B_TYPE) return 0; if (avctx->hurry_up && s->pict_type == FF_B_TYPE)
return 0;
/* Skip everything if we are in a hurry >= 5. */ /* Skip everything if we are in a hurry >= 5. */
if (avctx->hurry_up >= 5) return 0; if (avctx->hurry_up >= 5)
return 0;
if( (avctx->skip_frame >= AVDISCARD_NONREF && s->pict_type==FF_B_TYPE) if( (avctx->skip_frame >= AVDISCARD_NONREF && s->pict_type==FF_B_TYPE)
||(avctx->skip_frame >= AVDISCARD_NONKEY && s->pict_type!=FF_I_TYPE) ||(avctx->skip_frame >= AVDISCARD_NONKEY && s->pict_type!=FF_I_TYPE)
|| avctx->skip_frame >= AVDISCARD_ALL) || avctx->skip_frame >= AVDISCARD_ALL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment