diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-03-07 20:02:51 +0100 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-03-08 17:13:58 +0100 |
commit | fe9818d0047973898473c5723bcb5e02392f579e (patch) | |
tree | 16fb034e019c67ce744f8f58e57470e3605160cb /ffplay.c | |
parent | b50767c31d703c40b77d6e8def324b289141d023 (diff) | |
download | ffmpeg-fe9818d0047973898473c5723bcb5e02392f579e.tar.gz |
ffplay: fix two const warnings.
No change in assembly code produced on x86_64.
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1673,7 +1673,7 @@ static int input_request_frame(AVFilterLink *link) } else { picref = avfilter_get_video_buffer(link, AV_PERM_WRITE, link->w, link->h); av_image_copy(picref->data, picref->linesize, - priv->frame->data, priv->frame->linesize, + (const uint8_t **)(void **)priv->frame->data, priv->frame->linesize, picref->format, link->w, link->h); } av_free_packet(&pkt); @@ -3217,7 +3217,7 @@ int main(int argc, char **argv) } av_init_packet(&flush_pkt); - flush_pkt.data = "FLUSH"; + flush_pkt.data = (char *)(intptr_t)"FLUSH"; is = stream_open(input_filename, file_iformat); if (!is) { |