summaryrefslogtreecommitdiff
path: root/src/video_out/xvmc_vld.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_out/xvmc_vld.c')
-rw-r--r--src/video_out/xvmc_vld.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/video_out/xvmc_vld.c b/src/video_out/xvmc_vld.c
index ba1b51795..57f276665 100644
--- a/src/video_out/xvmc_vld.c
+++ b/src/video_out/xvmc_vld.c
@@ -16,13 +16,11 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
- *
- * $Id: xvmc_vld.c,v 1.4 2005/05/06 07:42:21 totte67 Exp $
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
*
* xvmc_vld.c, X11 decoding accelerated video extension interface for xine
*
- * Author: Thomas Hellström, (2004)
+ * Author: Thomas Hellström, (2004)
*/
#include "xxmc.h"
@@ -34,12 +32,12 @@ void xvmc_vld_frame(struct vo_frame_s *this_gen)
{
vo_frame_t *this = (vo_frame_t *) this_gen;
xxmc_frame_t
- *cf = (xxmc_frame_t *) this;
+ *cf = XXMC_FRAME(this);
xine_vld_frame_t
*vft = &(cf->xxmc_data.vld_frame);
xxmc_frame_t
- *ff = (xxmc_frame_t *) vft->forward_reference_frame,
- *bf = (xxmc_frame_t *) vft->backward_reference_frame;
+ *ff = XXMC_FRAME(vft->forward_reference_frame),
+ *bf = XXMC_FRAME(vft->backward_reference_frame);
XvMCMpegControl ctl;
xxmc_driver_t
*driver = (xxmc_driver_t *) cf->vo_frame.driver;
@@ -106,7 +104,7 @@ void xvmc_vld_frame(struct vo_frame_s *this_gen)
void xvmc_vld_slice(vo_frame_t *this_gen)
{
xxmc_frame_t
- *cf = (xxmc_frame_t *) this_gen;
+ *cf = XXMC_FRAME(this_gen);
xxmc_driver_t
*driver = (xxmc_driver_t *) cf->vo_frame.driver;