You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
ffplay: fix two const warnings.
No change in assembly code produced on x86_64.
This commit is contained in:
4
ffplay.c
4
ffplay.c
@@ -1673,7 +1673,7 @@ static int input_request_frame(AVFilterLink *link)
|
|||||||
} else {
|
} else {
|
||||||
picref = avfilter_get_video_buffer(link, AV_PERM_WRITE, link->w, link->h);
|
picref = avfilter_get_video_buffer(link, AV_PERM_WRITE, link->w, link->h);
|
||||||
av_image_copy(picref->data, picref->linesize,
|
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);
|
picref->format, link->w, link->h);
|
||||||
}
|
}
|
||||||
av_free_packet(&pkt);
|
av_free_packet(&pkt);
|
||||||
@@ -3217,7 +3217,7 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
av_init_packet(&flush_pkt);
|
av_init_packet(&flush_pkt);
|
||||||
flush_pkt.data = "FLUSH";
|
flush_pkt.data = (char *)(intptr_t)"FLUSH";
|
||||||
|
|
||||||
is = stream_open(input_filename, file_iformat);
|
is = stream_open(input_filename, file_iformat);
|
||||||
if (!is) {
|
if (!is) {
|
||||||
|
Reference in New Issue
Block a user