summaryrefslogtreecommitdiff
path: root/libavcodec/zmbvenc.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/zmbvenc.c
parent2f4b476e04160dad9472a61db2dd575471f39812 (diff)
Remove unnecessary AVFrame pointer casts.
Diffstat (limited to 'libavcodec/zmbvenc.c')
-rw-r--r--libavcodec/zmbvenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/zmbvenc.c b/libavcodec/zmbvenc.c
index 1c1e78d912..5d2728e0e7 100644
--- a/libavcodec/zmbvenc.c
+++ b/libavcodec/zmbvenc.c
@@ -313,7 +313,7 @@ static av_cold int encode_init(AVCodecContext *avctx)
return -1;
}
- avctx->coded_frame = (AVFrame*)&c->pic;
+ avctx->coded_frame = &c->pic;
return 0;
}