]> git.sesse.net Git - vlc/blobdiff - modules/codec/ffmpeg/postprocess.c
Enable ffmpegs TTA decoder, and add a TTA demux to VLC. duration and seeking supported.
[vlc] / modules / codec / ffmpeg / postprocess.c
index 3647666c021f7e06d5a3a762d0322baa3a98aea9..54de0e3edaeb02b0e89b2ac9f7419660d57d8831 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * postprocess.c: video postprocessing using the ffmpeg library
  *****************************************************************************
- * Copyright (C) 1999-2001 VideoLAN (Centrale Réseaux) and its contributors
+ * Copyright (C) 1999-2001 the VideoLAN team
  * $Id$
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
@@ -19,7 +19,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
 #include <vlc/vlc.h>
@@ -124,7 +124,7 @@ int E_(InitPostproc)( decoder_t *p_dec, void *p_data,
                       int i_width, int i_height, int pix_fmt )
 {
     video_postproc_sys_t *p_sys = (video_postproc_sys_t *)p_data;
-    int32_t i_cpu = p_dec->p_libvlc->i_cpu;
+    int32_t i_cpu = p_dec->p_libvlc_global->i_cpu;
     int i_flags = 0;
 
     /* Set CPU capabilities */