From 3374a43998f183b585640de0a588db2431ed87ae Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 28 Mar 2013 20:16:11 +0100 Subject: core: always pass data via packet fields to video decoders Makes the code a bit simpler to follow, at least in the "modern" decoding path (update_video_nocorrect_pts() is used with old demuxers, which don't return proper packets and need further parsing, so this code looks less simple now). --- video/decode/vd.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'video/decode/vd.h') diff --git a/video/decode/vd.h b/video/decode/vd.h index c4c2b7f465..88ce4b2f59 100644 --- a/video/decode/vd.h +++ b/video/decode/vd.h @@ -34,8 +34,7 @@ typedef struct vd_functions void (*uninit)(sh_video_t *sh); int (*control)(sh_video_t *sh, int cmd, void *arg); struct mp_image *(*decode)(struct sh_video *sh, struct demux_packet *pkt, - void *data, int len, int flags, - double *reordered_pts); + int flags, double *reordered_pts); } vd_functions_t; // NULL terminated array of all drivers -- cgit v1.2.3