~ubuntu-branches/ubuntu/oneiric/libav/oneiric

« back to all changes in this revision

Viewing changes to libavformat/nut.h

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2011-04-30 14:27:42 UTC
  • mfrom: (1.1.2 experimental)
  • Revision ID: james.westby@ubuntu.com-20110430142742-quvblxk1tj6adlh5
Tags: 4:0.7~b1-1ubuntu1
* Merge from debian. Remaining changes:
  - don't build against libfaad, libdirac, librtmp and libopenjpeg
    (all in universe)
  - explicitly --enable-pic on powerpc, cf. LP #654666
  - different arm configure bits that should probably better be
    merged into debian
* Cherry-picked from git: 
  - install doc/APIChanges and refer to them in NEWS.Debian (Closes: #623682)
  - don't try to install non-existing documentation, fixes FTBFS on powerpc

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * "NUT" Container Format (de)muxer
3
3
 * Copyright (c) 2006 Michael Niedermayer
4
4
 *
5
 
 * This file is part of FFmpeg.
 
5
 * This file is part of Libav.
6
6
 *
7
 
 * FFmpeg is free software; you can redistribute it and/or
 
7
 * Libav is free software; you can redistribute it and/or
8
8
 * modify it under the terms of the GNU Lesser General Public
9
9
 * License as published by the Free Software Foundation; either
10
10
 * version 2.1 of the License, or (at your option) any later version.
11
11
 *
12
 
 * FFmpeg is distributed in the hope that it will be useful,
 
12
 * Libav is distributed in the hope that it will be useful,
13
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15
15
 * Lesser General Public License for more details.
16
16
 *
17
17
 * You should have received a copy of the GNU Lesser General Public
18
 
 * License along with FFmpeg; if not, write to the Free Software
 
18
 * License along with Libav; if not, write to the Free Software
19
19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20
20
 */
21
21
 
82
82
} StreamContext;
83
83
 
84
84
typedef struct {
 
85
    AVRational *time_base;
 
86
} ChapterContext;
 
87
 
 
88
typedef struct {
85
89
    AVFormatContext *avf;
86
90
//    int written_packet_size;
87
91
//    int64_t packet_start;
90
94
    const uint8_t *header[128];
91
95
    uint64_t next_startcode;     ///< stores the next startcode if it has already been parsed but the stream is not seekable
92
96
    StreamContext *stream;
 
97
    ChapterContext *chapter;
93
98
    unsigned int max_distance;
94
99
    unsigned int time_base_count;
95
100
    int64_t last_syncpoint_pos;
99
104
} NUTContext;
100
105
 
101
106
extern const AVCodecTag ff_nut_subtitle_tags[];
 
107
extern const AVCodecTag ff_nut_video_tags[];
102
108
 
103
109
typedef struct {
104
110
    char str[9];