Skip to content
Snippets Groups Projects
Commit 5e4bc964 authored by Clément Bœsch's avatar Clément Bœsch Committed by Michael Niedermayer
Browse files

doc: fix examples.

parent b1b506bc
No related branches found
No related tags found
No related merge requests found
...@@ -207,7 +207,7 @@ int main(int argc, char **argv) ...@@ -207,7 +207,7 @@ int main(int argc, char **argv)
if (got_frame) { if (got_frame) {
/* push the audio data from decoded frame into the filtergraph */ /* 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"); av_log(NULL, AV_LOG_ERROR, "Error while feeding the audio filtergraph\n");
break; break;
} }
......
...@@ -213,7 +213,7 @@ int main(int argc, char **argv) ...@@ -213,7 +213,7 @@ int main(int argc, char **argv)
frame->pts = av_frame_get_best_effort_timestamp(frame); frame->pts = av_frame_get_best_effort_timestamp(frame);
/* push the decoded frame into the filtergraph */ /* 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"); av_log(NULL, AV_LOG_ERROR, "Error while feeding the filtergraph\n");
break; break;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment