[FFmpeg-cvslog] doc: fix examples.
Clément Bœsch
git at videolan.org
Sun Mar 10 02:03:01 CET 2013
ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Sun Mar 10 00:33:47 2013 +0100| [5e4bc96415e10ce1b8b1fd5f88aee76b51080778] | committer: Michael Niedermayer
doc: fix examples.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5e4bc96415e10ce1b8b1fd5f88aee76b51080778
---
doc/examples/filtering_audio.c | 2 +-
doc/examples/filtering_video.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/examples/filtering_audio.c b/doc/examples/filtering_audio.c
index 6f70a8d..f232106 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;
}
diff --git a/doc/examples/filtering_video.c b/doc/examples/filtering_video.c
index 660e526..520ccab 100644
--- a/doc/examples/filtering_video.c
+++ b/doc/examples/filtering_video.c
@@ -213,7 +213,7 @@ int main(int argc, char **argv)
frame->pts = av_frame_get_best_effort_timestamp(frame);
/* push the 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 filtergraph\n");
break;
}
More information about the ffmpeg-cvslog
mailing list