summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-11-04 20:34:19 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-11-04 20:34:19 +0000
commite15aeea6565f0e6386db7738814fcdde46c2dec3 (patch)
tree91d372dcc385aa2107ba29c392e4723c59b46af9 /ffmpeg.c
parenta6fdd5748fa015eaaf085695fc59240b6d0b9a7d (diff)
Implement avfilter_graph_alloc().
Originally committed as revision 25673 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index ad3f670e10..5451acd8d5 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -345,7 +345,7 @@ static int configure_filters(AVInputStream *ist, AVOutputStream *ost)
char args[255];
int ret;
- graph = av_mallocz(sizeof(AVFilterGraph));
+ graph = avfilter_graph_alloc();
if ((ret = avfilter_open(&ist->input_video_filter, avfilter_get_by_name("buffer"), "src")) < 0)
return ret;