diff options
author | James Almer <jamrial@gmail.com> | 2017-10-30 13:24:51 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-10-30 13:24:51 -0300 |
commit | 91b4d109175e1d729a649332a9c348e09eaf56bb (patch) | |
tree | e659b22bc2bc75fe1168bbf351e89e5c8b3da072 | |
parent | 4c410a58d7836b90ae0a3fa900f5d42b26a51077 (diff) | |
parent | ecc5c4db2dd3a0f328d95df89daa59f78b4b2810 (diff) | |
download | ffmpeg-91b4d109175e1d729a649332a9c348e09eaf56bb.tar.gz |
Merge commit 'ecc5c4db2dd3a0f328d95df89daa59f78b4b2810'
* commit 'ecc5c4db2dd3a0f328d95df89daa59f78b4b2810':
doc/examples/output: Cast pointer to the right (const) type
Merged-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | doc/examples/muxing.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/examples/muxing.c b/doc/examples/muxing.c index e1a4770eb1..6b98a3b2a0 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); } |