~ubuntu-branches/ubuntu/karmic/vlc/karmic-updates

« back to all changes in this revision

Viewing changes to modules/demux/ty.c

  • Committer: Bazaar Package Importer
  • Author(s): أحمد المحمودي (Ahmed El-Mahmoudy)
  • Date: 2009-08-01 05:54:24 UTC
  • mfrom: (3.4.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090801055424-adapguphw4qfvz6q
Tags: 1.0.1-1ubuntu1
* Merge from Debian unstable (LP: #406602, #407570), remaining changes:
  - build against xulrunner-dev instead of iceape-dev
  - build against libass-dev and libx264-dev
  - build against and install libx264 plugin
  - add Xb-Npp header to vlc package

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 * based on code by Christopher Wingert for tivo-mplayer
7
7
 * tivo(at)wingert.org, February 2003
8
8
 *
9
 
 * $Id$
 
9
 * $Id: 8ead0bf3fa4aab9ab568edc54086657f4cc4bc44 $
10
10
 *
11
11
 * This program is free software; you can redistribute it and/or modify
12
12
 * it under the terms of the GNU General Public License as published by
607
607
        if( offset < 0 )
608
608
        {
609
609
            /* no header found, fake some 00's (this works, believe me) */
610
 
            memset( p_sys->pes_buffer, 4, 0 );
 
610
            memset( p_sys->pes_buffer, 0, 4 );
611
611
            p_sys->i_pes_buf_cnt = 4;
612
612
            if( rec_len > 4 )
613
613
                msg_Err( p_demux, "PES header not found in record of %d bytes!",