[vlc-commits] postproc: Update to use current libav API.

Konstantin Pavlov git at videolan.org
Mon Apr 25 09:40:46 CEST 2011


vlc | branch: master | Konstantin Pavlov <thresh at videolan.org> | Mon Apr 25 11:14:52 2011 +0400| [052a73e1007741d7b63347d3a81cceda7e4dbfb3] | committer: Konstantin Pavlov

postproc: Update to use current libav API.

This change should be backwards compatible as corresponding types were
added in ffmpeg in 2008.

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

 modules/video_filter/postproc.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/video_filter/postproc.c b/modules/video_filter/postproc.c
index 0a1b067..8b74a69 100644
--- a/modules/video_filter/postproc.c
+++ b/modules/video_filter/postproc.c
@@ -102,10 +102,10 @@ static const char *const ppsz_filter_options[] = {
 struct filter_sys_t
 {
     /* Never changes after init */
-    pp_context_t *pp_context;
+    pp_context *pp_context;
 
     /* Set to NULL if post processing is disabled */
-    pp_mode_t    *pp_mode;
+    pp_mode *pp_mode;
 
     /* Set to true if previous pic had a quant matrix
        (used to prevent spamming warning messages) */
@@ -345,7 +345,7 @@ static void PPChangeMode( filter_t *p_filter, const char *psz_name,
     vlc_mutex_lock( &p_sys->lock );
     if( i_quality > 0 )
     {
-        pp_mode_t *pp_mode = pp_get_mode_by_name_and_quality( psz_name ?
+        pp_mode *pp_mode = pp_get_mode_by_name_and_quality( psz_name ?
                                                               psz_name :
                                                               "default",
                                                               i_quality );



More information about the vlc-commits mailing list