diff pcx.c @ 6075:4d43f2e3aaa5 libavcodec

remove useless cast
author ivo
date Thu, 27 Dec 2007 11:49:28 +0000
parents 60d30d88cf71
children bacdb7089756
line wrap: on
line diff
--- a/pcx.c	Thu Dec 27 03:03:45 2007 +0000
+++ b/pcx.c	Thu Dec 27 11:49:28 2007 +0000
@@ -73,7 +73,7 @@
                             uint8_t *buf, int buf_size) {
     PCXContext * const s = avctx->priv_data;
     AVFrame *picture = data;
-    AVFrame * const p = (AVFrame *)&s->picture;
+    AVFrame * const p = &s->picture;
     int xmin, ymin, xmax, ymax;
     unsigned int w, h, bits_per_pixel, bytes_per_line, nplanes, stride, y, x,
                  bytes_per_scanline;