Mercurial > libavcodec.hg
changeset 8194:f48a0ed93396 libavcodec
cosmetics: Put statements after 'if' on their own line.
author | diego |
---|---|
date | Sat, 22 Nov 2008 15:57:59 +0000 |
parents | c04182909bd8 |
children | cfe339a90018 |
files | svq3.c |
diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/svq3.c Sat Nov 22 00:29:49 2008 +0000 +++ b/svq3.c Sat Nov 22 15:57:59 2008 +0000 @@ -905,11 +905,14 @@ s->current_picture.key_frame = (s->pict_type == FF_I_TYPE); /* 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. */ - 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. */ - 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) ||(avctx->skip_frame >= AVDISCARD_NONKEY && s->pict_type!=FF_I_TYPE) || avctx->skip_frame >= AVDISCARD_ALL)