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/rawenc.c | |
parent | 2f4b476e04160dad9472a61db2dd575471f39812 (diff) | |
download | ffmpeg-562b6c744abdde4e673038fcb0c126a4aadfa6c7.tar.gz |
Remove unnecessary AVFrame pointer casts.
Diffstat (limited to 'libavcodec/rawenc.c')
-rw-r--r-- | libavcodec/rawenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rawenc.c b/libavcodec/rawenc.c index 8eb818c618..f435333fef 100644 --- a/libavcodec/rawenc.c +++ b/libavcodec/rawenc.c @@ -32,7 +32,7 @@ static av_cold int raw_init_encoder(AVCodecContext *avctx) { - avctx->coded_frame = (AVFrame *)avctx->priv_data; + avctx->coded_frame = avctx->priv_data; avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I; avctx->coded_frame->key_frame = 1; avctx->bits_per_coded_sample = av_get_bits_per_pixel(&av_pix_fmt_descriptors[avctx->pix_fmt]); |