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/svq1enc.c | |
parent | 2f4b476e04160dad9472a61db2dd575471f39812 (diff) | |
download | ffmpeg-562b6c744abdde4e673038fcb0c126a4aadfa6c7.tar.gz |
Remove unnecessary AVFrame pointer casts.
Diffstat (limited to 'libavcodec/svq1enc.c')
-rw-r--r-- | libavcodec/svq1enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/svq1enc.c b/libavcodec/svq1enc.c index 864c4ac962..c2c927c6c4 100644 --- a/libavcodec/svq1enc.c +++ b/libavcodec/svq1enc.c @@ -473,7 +473,7 @@ static av_cold int svq1_encode_init(AVCodecContext *avctx) SVQ1Context * const s = avctx->priv_data; ff_dsputil_init(&s->dsp, avctx); - avctx->coded_frame= (AVFrame*)&s->picture; + avctx->coded_frame = &s->picture; s->frame_width = avctx->width; s->frame_height = avctx->height; @@ -501,7 +501,7 @@ static int svq1_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) { SVQ1Context * const s = avctx->priv_data; - AVFrame * const p= (AVFrame*)&s->picture; + AVFrame * const p = &s->picture; AVFrame temp; int i, ret; |