diff options
author | wm4 <wm4@nowhere> | 2013-11-25 23:09:40 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-25 23:09:40 +0100 |
commit | 83dc3a81f18aed146063b8f410b6d0517cf57b87 (patch) | |
tree | 58da52c18ed90b0f6c85b765abe5d2eb5422dd75 /video/decode/dec_video.c | |
parent | 4205bbf243227bf151f2439ecb7772c41ecbfd12 (diff) | |
download | mpv-83dc3a81f18aed146063b8f410b6d0517cf57b87.tar.bz2 mpv-83dc3a81f18aed146063b8f410b6d0517cf57b87.tar.xz |
dec_video: fix function signature
Just why...? And why did this take 7 years?
Diffstat (limited to 'video/decode/dec_video.c')
-rw-r--r-- | video/decode/dec_video.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/video/decode/dec_video.c b/video/decode/dec_video.c index e9a59da255..be2ac8aabe 100644 --- a/video/decode/dec_video.c +++ b/video/decode/dec_video.c @@ -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; |