[vlc-commits] avcodec: drop deprecated qstride / qscale_table

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:32:54 2013 +0200| [5c5683e7e8ad9b745c8aba945c44edd454889913] | committer: Rémi Denis-Courmont

avcodec: drop deprecated qstride / qscale_table

(As for qtype, this is only used by the postproc video filter.)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5c5683e7e8ad9b745c8aba945c44edd454889913
---

 modules/codec/avcodec/video.c |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index f11d352..ac7f51d 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -732,12 +732,6 @@ picture_t *DecodeVideo( decoder_t *p_dec, block_t **pp_block )
             p_pic->b_progressive = !p_sys->p_ff_pic->interlaced_frame;
             p_pic->b_top_field_first = p_sys->p_ff_pic->top_field_first;
 
-            p_pic->i_qstride = p_sys->p_ff_pic->qstride;
-            int i_mb_h = ( p_pic->format.i_height + 15 ) / 16;
-            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 );
-
             return p_pic;
         }
         else



More information about the vlc-commits mailing list