diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-14 00:01:40 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-01-14 05:05:20 +0100 |
commit | 48a7981e6f93a27c9caca99d0bfb39e6244606a5 (patch) | |
tree | e9c74cb0a62616e336121a255ab9cb4aa4ef6704 /doc/examples/resampling_audio.c | |
parent | aaa7d2fafcc375d8cdef25a289008821c9c2fbaa (diff) |
doc/examples: fix assignments in if()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/examples/resampling_audio.c')
-rw-r--r-- | doc/examples/resampling_audio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/resampling_audio.c b/doc/examples/resampling_audio.c index 9075719a37..dd128e8d6e 100644 --- a/doc/examples/resampling_audio.c +++ b/doc/examples/resampling_audio.c @@ -200,7 +200,7 @@ int main(int argc, char **argv) fwrite(dst_data[0], 1, dst_bufsize, dst_file); } while (t < 10); - if ((ret = get_format_from_sample_fmt(&fmt, dst_sample_fmt) < 0)) + if ((ret = get_format_from_sample_fmt(&fmt, dst_sample_fmt)) < 0) goto end; fprintf(stderr, "Resampling succeeded. Play the output file with the command:\n" "ffplay -f %s -channel_layout %"PRId64" -channels %d -ar %d %s\n", |