diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-11-22 15:57:59 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-11-22 15:57:59 +0000 |
commit | 7d1b15828423d2ecd4960c658f1b3a824f69365a (patch) | |
tree | 996f35fa0d128b9e2bcc355d3eb9e01e0a95210a /libavcodec/svq3.c | |
parent | 8372e3d263b779232a80a3db983bf579438cccc5 (diff) | |
download | ffmpeg-streaming-7d1b15828423d2ecd4960c658f1b3a824f69365a.zip ffmpeg-streaming-7d1b15828423d2ecd4960c658f1b3a824f69365a.tar.gz |
cosmetics: Put statements after 'if' on their own line.
Originally committed as revision 15906 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/svq3.c')
-rw-r--r-- | libavcodec/svq3.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c index 1da6802..3f6f277 100644 --- a/libavcodec/svq3.c +++ b/libavcodec/svq3.c @@ -905,11 +905,14 @@ static int svq3_decode_frame (AVCodecContext *avctx, 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) |