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

Side by Side Diff: source/patched-ffmpeg-mt/libavfilter/avfiltergraph.c

Issue 4533003: patched ffmpeg nov 2 (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: '' Created 10 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * filter graphs 2 * filter graphs
3 * copyright (c) 2008 Vitor Sessak 3 * copyright (c) 2008 Vitor Sessak
4 * copyright (c) 2007 Bobby Bingham 4 * copyright (c) 2007 Bobby Bingham
5 * 5 *
6 * This file is part of FFmpeg. 6 * This file is part of FFmpeg.
7 * 7 *
8 * FFmpeg is free software; you can redistribute it and/or 8 * FFmpeg is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public 9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 if(query_formats(graph, log_ctx)) 195 if(query_formats(graph, log_ctx))
196 return -1; 196 return -1;
197 197
198 /* Once everything is merged, it's possible that we'll still have 198 /* Once everything is merged, it's possible that we'll still have
199 * multiple valid media format choices. We pick the first one. */ 199 * multiple valid media format choices. We pick the first one. */
200 pick_formats(graph); 200 pick_formats(graph);
201 201
202 return 0; 202 return 0;
203 } 203 }
204 204
205 int avfilter_graph_config(AVFilterGraph *graphctx, AVClass *log_ctx)
206 {
207 int ret;
208
209 if ((ret = avfilter_graph_check_validity(graphctx, log_ctx)))
210 return ret;
211 if ((ret = avfilter_graph_config_formats(graphctx, log_ctx)))
212 return ret;
213 if ((ret = avfilter_graph_config_links(graphctx, log_ctx)))
214 return ret;
215
216 return 0;
217 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698