~ubuntu-branches/ubuntu/saucy/libdvdread/saucy

« back to all changes in this revision

Viewing changes to src/bitreader.c

  • Committer: Package Import Robot
  • Author(s): Bryce Harrington
  • Date: 2011-11-28 17:12:51 UTC
  • mfrom: (1.1.4) (3.2.10 sid)
  • Revision ID: package-import@ubuntu.com-20111128171251-fxbi0nd6rrz3lsfb
Tags: 4.2.0-1ubuntu1
* Merge from debian testing.  Remaining changes:
  - Re-add missing install-css.sh. Update the script with patch by Gene Cumm
    for dynamic version calculation.
  - debian/control: add Suggests for install-css.sh on wget, debhelper, etc.
  - debian/rules: install install-css.sh, leave perms executable.
  - 100-quell-vts-tmapt-warning.patch - Don't recommend sending bug
    reports when VTS_TMAPT is missing
  - 102-reorder-linkage.patch - Fix link order for shared library loading.
* Drop 101-fix-msb-unicode.patch; fixed upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2000, 2001, 2002, 2003 H�kan Hjort <d95hjort@dtek.chalmers.se>
3
 
 *
4
 
 * This program is free software; you can redistribute it and/or modify
 
2
 * Copyright (C) 2000, 2001, 2002, 2003 Håkan Hjort <d95hjort@dtek.chalmers.se>
 
3
 *
 
4
 * This file is part of libdvdread.
 
5
 *
 
6
 * libdvdread is free software; you can redistribute it and/or modify
5
7
 * it under the terms of the GNU General Public License as published by
6
8
 * the Free Software Foundation; either version 2 of the License, or
7
9
 * (at your option) any later version.
8
10
 *
9
 
 * This program is distributed in the hope that it will be useful,
 
11
 * libdvdread is distributed in the hope that it will be useful,
10
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
14
 * GNU General Public License for more details.
13
15
 *
14
 
 * You should have received a copy of the GNU General Public License
15
 
 * along with this program; if not, write to the Free Software
16
 
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
16
 * You should have received a copy of the GNU General Public License along
 
17
 * with libdvdread; if not, write to the Free Software Foundation, Inc.,
 
18
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
19
 */
18
20
 
19
 
#include "config.h"
20
 
 
21
21
#include <stdio.h>
22
22
#include <stdlib.h>
23
23
#include <string.h>
24
24
#include <inttypes.h>
25
25
 
26
 
#include "bitreader.h"
 
26
#include "dvdread/bitreader.h"
27
27
 
28
28
int dvdread_getbits_init(getbits_state_t *state, uint8_t *start) {
29
29
  if ((state == NULL) || (start == NULL)) return 0;