summaryrefslogtreecommitdiff
path: root/doc/examples/filtering_audio.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-03-10 00:33:47 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-10 01:41:53 +0100
commit5e4bc96415e10ce1b8b1fd5f88aee76b51080778 (patch)
treeece1f2e5d96878dbb1a7321be1f1fb2620a4367b /doc/examples/filtering_audio.c
parentb1b506bc56098374b224fb99cf014929eed1d38c (diff)
doc: fix examples.
Diffstat (limited to 'doc/examples/filtering_audio.c')
-rw-r--r--doc/examples/filtering_audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/filtering_audio.c b/doc/examples/filtering_audio.c
index 6f70a8df90..f2321063cf 100644
--- a/doc/examples/filtering_audio.c
+++ b/doc/examples/filtering_audio.c
@@ -207,7 +207,7 @@ int main(int argc, char **argv)
if (got_frame) {
/* push the audio data from decoded frame into the filtergraph */
- if (av_buffersrc_add_frame(buffersrc_ctx, frame, 0) < 0) {
+ if (av_buffersrc_add_frame(buffersrc_ctx, frame) < 0) {
av_log(NULL, AV_LOG_ERROR, "Error while feeding the audio filtergraph\n");
break;
}