diff --git a/doc/examples/muxing.c b/doc/examples/muxing.c index e1a4770eb12288b8fafb98dfd5256389693aa2b2..6b98a3b2a0ac1459758ff6a4a85e9c7dd963c8c4 100644 --- a/doc/examples/muxing.c +++ b/doc/examples/muxing.c @@ -488,9 +488,9 @@ static AVFrame *get_video_frame(OutputStream *ost) } } fill_yuv_image(ost->tmp_frame, ost->next_pts, c->width, c->height); - sws_scale(ost->sws_ctx, - (const uint8_t * const *)ost->tmp_frame->data, ost->tmp_frame->linesize, - 0, c->height, ost->frame->data, ost->frame->linesize); + sws_scale(ost->sws_ctx, (const uint8_t * const *) ost->tmp_frame->data, + ost->tmp_frame->linesize, 0, c->height, ost->frame->data, + ost->frame->linesize); } else { fill_yuv_image(ost->frame, ost->next_pts, c->width, c->height); }