diff options
Diffstat (limited to 'libavcodec/pamenc.c')
-rw-r--r-- | libavcodec/pamenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pamenc.c b/libavcodec/pamenc.c index 599b7e9a27..4802ca396d 100644 --- a/libavcodec/pamenc.c +++ b/libavcodec/pamenc.c @@ -29,7 +29,7 @@ static int pam_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, w, n, linesize, depth, maxval, ret; const char *tuple_type; uint8_t *ptr; |