diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-02-27 08:51:20 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-03-01 23:11:10 +0100 |
commit | 562b6c744abdde4e673038fcb0c126a4aadfa6c7 (patch) | |
tree | b4298ea102140993cfc2ebaad2dbee91f7f56a0c /libavcodec/bmp.c | |
parent | 2f4b476e04160dad9472a61db2dd575471f39812 (diff) | |
download | ffmpeg-562b6c744abdde4e673038fcb0c126a4aadfa6c7.tar.gz |
Remove unnecessary AVFrame pointer casts.
Diffstat (limited to 'libavcodec/bmp.c')
-rw-r--r-- | libavcodec/bmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/bmp.c b/libavcodec/bmp.c index 1f725f5369..4d586dc89b 100644 --- a/libavcodec/bmp.c +++ b/libavcodec/bmp.c @@ -27,8 +27,8 @@ static av_cold int bmp_decode_init(AVCodecContext *avctx){ BMPContext *s = avctx->priv_data; - avcodec_get_frame_defaults((AVFrame*)&s->picture); - avctx->coded_frame = (AVFrame*)&s->picture; + avcodec_get_frame_defaults(&s->picture); + avctx->coded_frame = &s->picture; return 0; } |