Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Unified Diff: source/patched-ffmpeg-mt/tools/lavfi-showfiltfmts.c

Issue 3384002: ffmpeg source update for sep 09 (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/patched-ffmpeg-mt/tests/ref/vsynth2/qtrle ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/patched-ffmpeg-mt/tools/lavfi-showfiltfmts.c
===================================================================
--- source/patched-ffmpeg-mt/tools/lavfi-showfiltfmts.c (revision 59334)
+++ source/patched-ffmpeg-mt/tools/lavfi-showfiltfmts.c (working copy)
@@ -49,7 +49,7 @@
return 1;
}
- if (!(filter_ctx = avfilter_open(filter, NULL))) {
+ if (avfilter_open(&filter_ctx, filter, NULL) < 0) {
fprintf(stderr, "Inpossible to open filter with name '%s'\n", filter_name);
return 1;
}
@@ -66,7 +66,7 @@
}
for (i = 0; i < filter_ctx->output_count; i++) {
AVFilterLink *link = av_mallocz(sizeof(AVFilterLink));
- link->type = filter_ctx->filter->inputs[i].type;
+ link->type = filter_ctx->filter->outputs[i].type;
filter_ctx->outputs[i] = link;
}
« no previous file with comments | « source/patched-ffmpeg-mt/tests/ref/vsynth2/qtrle ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698