diff options
author | Ivo van Poorten <ivop@euronet.nl> | 2007-12-27 11:49:28 +0000 |
---|---|---|
committer | Ivo van Poorten <ivop@euronet.nl> | 2007-12-27 11:49:28 +0000 |
commit | 91be76a6622d14b6f734886d00ffe9bca4f4d13b (patch) | |
tree | 2dde8d0b3b68041b2a7d9b9544dd3a207d9964d3 /libavcodec/ptx.c | |
parent | 9f175aa0755102e61c40920dfa03cd24201d8c07 (diff) | |
download | ffmpeg-91be76a6622d14b6f734886d00ffe9bca4f4d13b.tar.gz |
remove useless cast
Originally committed as revision 11328 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ptx.c')
-rw-r--r-- | libavcodec/ptx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ptx.c b/libavcodec/ptx.c index b3e2919df7..814697f5ca 100644 --- a/libavcodec/ptx.c +++ b/libavcodec/ptx.c @@ -38,7 +38,7 @@ static int ptx_decode_frame(AVCodecContext *avctx, void *data, int *data_size, 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; |