diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-11-04 23:34:19 +0300 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-11-04 23:34:19 +0300 |
commit | e15aeea6565f0e6386db7738814fcdde46c2dec3 (patch) | |
tree | 91d372dcc385aa2107ba29c392e4723c59b46af9 /ffplay.c | |
parent | a6fdd5748fa015eaaf085695fc59240b6d0b9a7d (diff) |
Implement avfilter_graph_alloc().
Originally committed as revision 25673 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1795,7 +1795,7 @@ static int video_thread(void *arg) char sws_flags_str[128]; FFSinkContext ffsink_ctx = { .pix_fmt = PIX_FMT_YUV420P }; AVFilterContext *filt_src = NULL, *filt_out = NULL; - AVFilterGraph *graph = av_mallocz(sizeof(AVFilterGraph)); + AVFilterGraph *graph = avfilter_graph_alloc(); snprintf(sws_flags_str, sizeof(sws_flags_str), "flags=%d", sws_flags); graph->scale_sws_opts = av_strdup(sws_flags_str); |