diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-11-21 07:50:03 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2011-11-21 19:35:33 +0100 |
commit | 2f0f9a87d0e8d27ce6ad5b81134d01b9d2392cd1 (patch) | |
tree | 312539bfc29ba8d565c6cd958cbfbf8a8885d2bc /libavfilter | |
parent | 4931c8f0f10bf8dedcf626104a6b85bfefadc6f2 (diff) | |
download | ffmpeg-2f0f9a87d0e8d27ce6ad5b81134d01b9d2392cd1.tar.gz |
Fix various if parenthesis misplacements.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_drawtext.c | 2 | ||||
-rw-r--r-- | libavfilter/vf_fifo.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c index 7d4476f849..43d39c0ad2 100644 --- a/libavfilter/vf_drawtext.c +++ b/libavfilter/vf_drawtext.c @@ -359,7 +359,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque) load_glyph(ctx, NULL, 0); /* set the tabsize in pixels */ - if ((err = load_glyph(ctx, &glyph, ' ') < 0)) { + if ((err = load_glyph(ctx, &glyph, ' ')) < 0) { av_log(ctx, AV_LOG_ERROR, "Could not set tabsize.\n"); return err; } diff --git a/libavfilter/vf_fifo.c b/libavfilter/vf_fifo.c index 46e93730ef..06018116ed 100644 --- a/libavfilter/vf_fifo.c +++ b/libavfilter/vf_fifo.c @@ -76,7 +76,7 @@ static int request_frame(AVFilterLink *outlink) int ret; if (!fifo->root.next) { - if ((ret = avfilter_request_frame(outlink->src->inputs[0]) < 0)) + if ((ret = avfilter_request_frame(outlink->src->inputs[0])) < 0) return ret; } |