Mercurial > libavcodec.hg
diff ptx.c @ 6075:4d43f2e3aaa5 libavcodec
remove useless cast
author | ivo |
---|---|
date | Thu, 27 Dec 2007 11:49:28 +0000 |
parents | 20d8a8f0fd30 |
children | ce0378d4c06c |
line wrap: on
line diff
--- a/ptx.c Thu Dec 27 03:03:45 2007 +0000 +++ b/ptx.c Thu Dec 27 11:49:28 2007 +0000 @@ -38,7 +38,7 @@ uint8_t *buf, int buf_size) { PTXContext * const s = avctx->priv_data; AVFrame *picture = data; - AVFrame * const p = (AVFrame *)&s->picture; + AVFrame * const p = &s->picture; unsigned int offset, w, h, y, stride, bytes_per_pixel; uint8_t *ptr;