~ubuntu-branches/ubuntu/lucid/ffmpeg/lucid-security

« back to all changes in this revision

Viewing changes to libavformat/avio.h

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2009-03-13 09:18:28 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090313091828-n4ktby5eca487uhv
Tags: 3:0.svn20090303-1ubuntu1+unstripped1
merge from ubuntu.jaunty branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * unbuffered io for ffmpeg system
3
2
 * copyright (c) 2001 Fabrice Bellard
4
3
 *
5
4
 * This file is part of FFmpeg.
21
20
#ifndef AVFORMAT_AVIO_H
22
21
#define AVFORMAT_AVIO_H
23
22
 
 
23
/**
 
24
 * @file libavformat/avio.h
 
25
 * unbuffered I/O operations
 
26
 *
 
27
 * @warning This file has to be considered an internal but installed
 
28
 * header, so it should not be directly included in your projects.
 
29
 */
 
30
 
24
31
#include <stdint.h>
25
32
 
 
33
#include "libavutil/common.h"
 
34
 
26
35
/* unbuffered I/O */
27
36
 
28
37
/**
137
146
                             int64_t timestamp, int flags);
138
147
} URLProtocol;
139
148
 
 
149
#if LIBAVFORMAT_VERSION_MAJOR < 53
140
150
extern URLProtocol *first_protocol;
 
151
#endif
 
152
 
141
153
extern URLInterruptCB *url_interrupt_cb;
142
154
 
 
155
/**
 
156
 * If protocol is NULL, returns the first registered protocol,
 
157
 * if protocol is non-NULL, returns the next registered protocol after protocol,
 
158
 * or NULL if protocol is the last one.
 
159
 */
143
160
URLProtocol *av_protocol_next(URLProtocol *p);
144
161
 
145
 
int register_protocol(URLProtocol *protocol);
 
162
#if LIBAVFORMAT_VERSION_MAJOR < 53
 
163
/**
 
164
 * @deprecated Use av_register_protocol() instead.
 
165
 */
 
166
attribute_deprecated int register_protocol(URLProtocol *protocol);
 
167
#endif
 
168
 
 
169
int av_register_protocol(URLProtocol *protocol);
146
170
 
147
171
/**
148
172
 * Bytestream IO Context.