Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvo van Poorten <ivop@euronet.nl>2007-12-27 14:49:28 +0300
committerIvo van Poorten <ivop@euronet.nl>2007-12-27 14:49:28 +0300
commit91be76a6622d14b6f734886d00ffe9bca4f4d13b (patch)
tree2dde8d0b3b68041b2a7d9b9544dd3a207d9964d3 /libavcodec/pcx.c
parent9f175aa0755102e61c40920dfa03cd24201d8c07 (diff)
remove useless cast
Originally committed as revision 11328 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/pcx.c')
-rw-r--r--libavcodec/pcx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pcx.c b/libavcodec/pcx.c
index af92b27704..568c150a35 100644
--- a/libavcodec/pcx.c
+++ b/libavcodec/pcx.c
@@ -73,7 +73,7 @@ static int pcx_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
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;