diff options
Diffstat (limited to 'avconv.c')
-rw-r--r-- | avconv.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -550,7 +550,7 @@ static int configure_video_filters(InputStream *ist, OutputStream *ost) /** filter graph containing all filters including input & output */ AVCodecContext *codec = ost->st->codec; AVCodecContext *icodec = ist->st->codec; - AVSinkContext avsink_ctx = { .pix_fmt = codec->pix_fmt }; + SinkContext sink_ctx = { .pix_fmt = codec->pix_fmt }; AVRational sample_aspect_ratio; char args[255]; int ret; @@ -570,8 +570,8 @@ static int configure_video_filters(InputStream *ist, OutputStream *ost) "src", args, NULL, ost->graph); if (ret < 0) return ret; - ret = avfilter_graph_create_filter(&ost->output_video_filter, &avsink, - "out", NULL, &avsink_ctx, ost->graph); + ret = avfilter_graph_create_filter(&ost->output_video_filter, &sink, + "out", NULL, &sink_ctx, ost->graph); if (ret < 0) return ret; last_filter = ost->input_video_filter; |