summaryrefslogtreecommitdiff
path: root/libavcodec/pnmenc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-02-27 08:51:20 +0100
committerDiego Biurrun <diego@biurrun.de>2012-03-01 23:11:10 +0100
commit562b6c744abdde4e673038fcb0c126a4aadfa6c7 (patch)
treeb4298ea102140993cfc2ebaad2dbee91f7f56a0c /libavcodec/pnmenc.c
parent2f4b476e04160dad9472a61db2dd575471f39812 (diff)
Remove unnecessary AVFrame pointer casts.
Diffstat (limited to 'libavcodec/pnmenc.c')
-rw-r--r--libavcodec/pnmenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pnmenc.c b/libavcodec/pnmenc.c
index 40621c852e..843629e8b9 100644
--- a/libavcodec/pnmenc.c
+++ b/libavcodec/pnmenc.c
@@ -29,7 +29,7 @@ static int pnm_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
const AVFrame *pict, int *got_packet)
{
PNMContext *s = avctx->priv_data;
- AVFrame * const p = (AVFrame*)&s->picture;
+ AVFrame * const p = &s->picture;
int i, h, h1, c, n, linesize, ret;
uint8_t *ptr, *ptr1, *ptr2;