[vlc-commits] avcodec: drop deprecated qscale_type
Rémi Denis-Courmont
git at videolan.org
Sat Mar 9 20:39:33 CET 2013
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Mar 9 21:23:00 2013 +0200| [818cd43f013b60ca62c24045f16f062fbf22116a] | committer: Rémi Denis-Courmont
avcodec: drop deprecated qscale_type
(This datum was only used by postproc anyway.)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=818cd43f013b60ca62c24045f16f062fbf22116a
---
modules/codec/avcodec/video.c | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index 480dc1e..f11d352 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -737,18 +737,6 @@ picture_t *DecodeVideo( decoder_t *p_dec, block_t **pp_block )
p_pic->p_q = malloc( p_pic->i_qstride * i_mb_h );
memcpy( p_pic->p_q, p_sys->p_ff_pic->qscale_table,
p_pic->i_qstride * i_mb_h );
- switch( p_sys->p_ff_pic->qscale_type )
- {
- case FF_QSCALE_TYPE_MPEG1:
- p_pic->i_qtype = QTYPE_MPEG1;
- break;
- case FF_QSCALE_TYPE_MPEG2:
- p_pic->i_qtype = QTYPE_MPEG2;
- break;
- case FF_QSCALE_TYPE_H264:
- p_pic->i_qtype = QTYPE_H264;
- break;
- }
return p_pic;
}
More information about the vlc-commits
mailing list