[FFmpeg-cvslog] r23670 - trunk/libavcodec/ps.c

Aurelien Jacobs aurel
Mon Jun 21 11:22:57 CEST 2010


On Mon, Jun 21, 2010 at 12:13:44AM +0200, alexc wrote:
> Author: alexc
> Date: Mon Jun 21 00:13:43 2010
> New Revision: 23670
> 
> Log:
> psdec: IPD/OPD reset is no longer needed by the context initializer.
> 
> Modified:
>    trunk/libavcodec/ps.c
> 
> Modified: trunk/libavcodec/ps.c
> ==============================================================================
> --- trunk/libavcodec/ps.c	Mon Jun 21 00:08:33 2010	(r23669)
> +++ trunk/libavcodec/ps.c	Mon Jun 21 00:13:43 2010	(r23670)
> @@ -1034,5 +1034,4 @@ av_cold void ff_ps_init(void) {
>  
>  av_cold void ff_ps_ctx_init(PSContext *ps)
>  {
> -    ipdopd_reset(ps->ipd_hist, ps->opd_hist);
>  }

Unless you plan to use it for something else, this function could be
removed. See attached patch.

Aurel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove_ps_ctx_init.diff
Type: text/x-diff
Size: 1217 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20100621/7f17aeaa/attachment-0001.diff>



More information about the ffmpeg-cvslog mailing list