mirror of
https://github.com/mpv-player/mpv
synced 2025-01-15 03:23:23 +00:00
dec_video: fix function signature
Just why...? And why did this take 7 years?
This commit is contained in:
parent
4205bbf243
commit
83dc3a81f1
@ -205,8 +205,9 @@ bool video_init_best_codec(struct dec_video *d_video, char* video_decoders)
|
||||
return !!d_video->vd_driver;
|
||||
}
|
||||
|
||||
void *video_decode(struct dec_video *d_video, struct demux_packet *packet,
|
||||
int drop_frame)
|
||||
struct mp_image *video_decode(struct dec_video *d_video,
|
||||
struct demux_packet *packet,
|
||||
int drop_frame)
|
||||
{
|
||||
mp_image_t *mpi = NULL;
|
||||
struct MPOpts *opts = d_video->opts;
|
||||
|
@ -69,8 +69,9 @@ bool video_init_best_codec(struct dec_video *d_video, char* video_decoders);
|
||||
void video_uninit(struct dec_video *d_video);
|
||||
|
||||
struct demux_packet;
|
||||
void *video_decode(struct dec_video *d_video, struct demux_packet *packet,
|
||||
int drop_frame);
|
||||
struct mp_image *video_decode(struct dec_video *d_video,
|
||||
struct demux_packet *packet,
|
||||
int drop_frame);
|
||||
|
||||
int video_get_colors(struct dec_video *d_video, const char *item, int *value);
|
||||
int video_set_colors(struct dec_video *d_video, const char *item, int value);
|
||||
|
Loading…
Reference in New Issue
Block a user