diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-06-11 15:30:46 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-06-12 22:46:02 +0200 |
commit | c535494268069282cc1147c4d61d4a88ce39e078 (patch) | |
tree | b7aa99064bf1b577eae22eac07ba4fa361815cc5 /ffplay.c | |
parent | 6119b23a3662d1e106cdf69ef3171b2e7e1d495c (diff) | |
download | ffmpeg-streaming-c535494268069282cc1147c4d61d4a88ce39e078.zip ffmpeg-streaming-c535494268069282cc1147c4d61d4a88ce39e078.tar.gz |
avfiltergraph: make the AVFilterInOut alloc/free API public
This is required for letting applications to create and destroy
AVFilterInOut structs in a convenient way.
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1695,8 +1695,8 @@ static int configure_video_filters(AVFilterGraph *graph, VideoState *is, const c goto the_end; if(vfilters) { - AVFilterInOut *outputs = av_malloc(sizeof(AVFilterInOut)); - AVFilterInOut *inputs = av_malloc(sizeof(AVFilterInOut)); + AVFilterInOut *outputs = avfilter_inout_alloc(); + AVFilterInOut *inputs = avfilter_inout_alloc(); outputs->name = av_strdup("in"); outputs->filter_ctx = filt_src; |