third_party_ffmpeg/libavformat
Michael Niedermayer 8d9a3f7e21 use a dynamic ByteIOContext instead of using the lavf buffer
this makes the code work with big packets, it is also simpler and saves
a byte or 2

Originally committed as revision 10015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 12:38:24 +00:00
..
4xm.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
adtsenc.c update my email address 2007-07-05 20:08:51 +00:00
aiff.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
allformats.c add mpegtsraw demuxer 2007-06-06 13:31:30 +00:00
allformats.h include all prerequisites in header files 2007-06-16 22:59:13 +00:00
amr.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
apc.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
asf-enc.c some url_is_streamed()==1 related fixes 2007-03-11 02:51:06 +00:00
asf.c more verbose error 2007-08-06 20:37:45 +00:00
asf.h add a comment to indicate which #endif belong to which #define 2007-06-17 18:59:28 +00:00
au.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
audio.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
avformat.h Change avf_sdp_create() to get a pre-allocated buffer as input, and to 2007-08-05 13:44:56 +00:00
avi.h Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
avidec.c Hack to support XSUB subtitles in AVI 2007-08-05 12:11:16 +00:00
avienc.c remove redundant codec_get_bmp_tag() call in avi_write_header() 2007-07-08 01:41:06 +00:00
avio.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
avio.h include all prerequisites in header files 2007-06-16 22:59:13 +00:00
aviobuf.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
avisynth.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
avs.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
beosaudio.cpp implement new grabbing interface, as described here: 2007-02-14 17:01:32 +00:00
bethsoftvid.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
c93.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
crc.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
cutils.c spelling cosmetics 2007-07-02 12:19:26 +00:00
daud.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
dc1394.c implement new grabbing interface, as described here: 2007-02-14 17:01:32 +00:00
dsicin.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
dv1394.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
dv1394.h license header consistency cosmetics 2007-07-05 10:40:25 +00:00
dv.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
dv.h add a comment to indicate which #endif belong to which #define 2007-06-17 18:59:28 +00:00
dvenc.c Cosmetics: use consistent indentation by four spaces 2007-06-24 07:45:19 +00:00
dxa.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
electronicarts.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
ffm.c Use AV_RB* macros where appropriate. 2007-07-06 09:32:34 +00:00
file.c Check for O_BINARY instead of a list of systems that need it 2007-06-25 20:34:20 +00:00
flic.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
flv.h Complete the video format enum. 2007-02-23 21:09:50 +00:00
flvdec.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
flvenc.c set the previous tag size correctly in flv files 2007-08-04 23:03:17 +00:00
framehook.c Change the vhook code to send real timestamps to the filters instead of the 2007-03-29 05:24:35 +00:00
framehook.h Remove leading underscores from specifiers, they are reserved. 2007-07-02 17:00:04 +00:00
gif.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
gifdec.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
grab_bktr.c There were two files, libavformat/grab.c and libavformat/grab_bktr.c declaring 2007-04-03 21:09:36 +00:00
grab.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
gxf.c replaces hardcoded values by the equivalent enum definitions 2007-07-26 13:01:09 +00:00
gxf.h cosmetics: alignment 2007-07-26 13:02:07 +00:00
gxfenc.c replaces hardcoded values by the equivalent enum definitions 2007-07-26 13:01:09 +00:00
http.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
idcin.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
idroq.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
img2.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
ipmovie.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
isom.c treat NONE as U8 to fix qtNONE/000_0032.MOV, this should not any have side effect since if bps is 16 in stsd, codec will be changed to s16be, just yell if this breaks any sample 2007-07-30 10:00:42 +00:00
isom.h include all prerequisites in header files 2007-06-16 22:59:13 +00:00
libnut.c allocate 32 extra bytes at the end of the probe buffer and remove most probe buf_size checks 2007-04-08 11:34:15 +00:00
Makefile Introduce an SDP generator 2007-07-26 22:34:26 +00:00
matroska.c use the most appropriate codec id for A_MPEG/L1 and L2 2007-07-25 15:59:26 +00:00
matroska.h Add EBML ID for Segment UID 2007-07-28 06:33:05 +00:00
matroskadec.c Replace all occurrences of AVERROR_NOTSUPP with AVERROR(ENOSYS). 2007-07-19 15:38:33 +00:00
mm.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
mmf.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
mov.c set block align to stsd audio v2 bytes per frame for adpcm ms and ima wav, fix surge-2-16-L-ms11.mov and surge-2-16-L-ms02.mov 2007-08-04 12:33:34 +00:00
movenc.c kill harmless 64-bit pointer cast warning 2007-07-08 13:42:44 +00:00
mp3.c do not write id3v2 header when writing .mp2 files 2007-08-05 00:47:57 +00:00
mpc.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
mpeg.c fix misdetection of out.ac3 2007-08-05 02:17:06 +00:00
mpeg.h split mpeg ps and variants muxer and demuxer, I'll clean more in a few minutes, lpcm freq tab is left static const in mpeg.h for now until we have more code in common 2007-06-21 09:39:29 +00:00
mpegenc.c remove likely wrong reseting of align_iframe 2007-07-15 18:24:39 +00:00
mpegts.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
mpegts.h remove redundant declaration of mpegts_muxer 2007-07-08 13:42:48 +00:00
mpegtsenc.c write DTS, based on patch by Luca Abeni, lucabe72 email it 2007-03-02 21:47:24 +00:00
mpjpeg.c Change license headers to say 'FFmpeg' instead of 'this program/this library' 2006-10-07 15:30:46 +00:00
mtv.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
mxf.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
network.h Check for winsock2.h instead of __MINGW32__ 2007-08-08 19:18:10 +00:00
nsvdec.c misc spelling fixes 2007-06-12 09:29:25 +00:00
nut.c Replace all occurrences of AVERROR_NOMEM with AVERROR(ENOMEM). 2007-07-19 15:21:30 +00:00
nut.h use a dynamic ByteIOContext instead of using the lavf buffer 2007-08-09 12:38:24 +00:00
nutdec.c make StreamContext.time_base a pointer 2007-08-09 11:04:43 +00:00
nutenc.c use a dynamic ByteIOContext instead of using the lavf buffer 2007-08-09 12:38:24 +00:00
nuv.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
ogg2.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
ogg2.h save/restore number of streams 2007-01-15 22:05:22 +00:00
ogg.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
oggparseflac.c use get_bits_long() where needed 2007-06-14 18:14:35 +00:00
oggparseogm.c ogm: don't use deprecated codec_get_{bmp,wav}_id() 2007-07-08 01:41:09 +00:00
oggparsetheora.c Use AV_RB* macros where appropriate. 2007-07-06 09:32:34 +00:00
oggparsevorbis.c warnings-- 2007-06-24 12:20:18 +00:00
os_support.c Check for winsock2.h instead of __MINGW32__ 2007-08-08 19:18:10 +00:00
os_support.h use proper closesocket defines 2007-08-08 20:25:32 +00:00
psxstr.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
qtpalette.h Add missing license headers. 2007-02-27 16:05:19 +00:00
raw.c 10l to me. Revert recent changes to ac3_probe() which made misdetection as AC3 too probable. 2007-08-05 03:36:50 +00:00
riff.c support silly PCM variant used by zork nemesis 2007-07-30 02:05:16 +00:00
riff.h remove deprecated codec_get_{bmp,wav}_{id,tag}() 2007-07-08 01:49:24 +00:00
rm.h split rm muxer and demuxer in their own files 2007-05-30 09:44:16 +00:00
rmdec.c Merge get_str() and get_str8() functions. 2007-07-28 18:05:11 +00:00
rmenc.c split rm muxer and demuxer in their own files 2007-05-30 09:44:16 +00:00
rtp_h264.c h264_rtp_extra_data is not only used for debug purposes, asserts are using it also 2007-07-13 12:12:38 +00:00
rtp_h264.h include all prerequisites in header files 2007-06-16 22:59:13 +00:00
rtp_internal.h include all prerequisites in header files 2007-06-16 22:59:13 +00:00
rtp.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
rtp.h include all prerequisites in header files 2007-06-16 22:59:13 +00:00
rtpproto.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
rtsp.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
rtsp.h include all prerequisites in header files 2007-06-16 22:59:13 +00:00
rtspcodes.h add a comment to indicate which #endif belong to which #define 2007-06-17 18:59:28 +00:00
sdp.c Change avf_sdp_create() to get a pre-allocated buffer as input, and to 2007-08-05 13:44:56 +00:00
segafilm.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
sierravmd.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
smacker.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
sol.c allocate 32 extra bytes at the end of the probe buffer and remove most probe buf_size checks 2007-04-08 11:34:15 +00:00
swf.c remove now useless vars 2007-08-05 01:40:49 +00:00
tcp.c MinGW returns EAGAIN instead of EINPROGRESS 2007-08-08 12:08:16 +00:00
thp.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
tiertexseq.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
tta.c Replace all occurrences of AVERROR_NOMEM with AVERROR(ENOMEM). 2007-07-19 15:21:30 +00:00
txd.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
udp.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
utils.c ensure that the codec_id detection in av_find_stream_info() does not 2007-08-06 21:14:29 +00:00
v4l2.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
voc.c license header consistency cosmetics 2007-07-05 10:40:25 +00:00
voc.h license header consistency cosmetics 2007-07-05 10:40:25 +00:00
vocdec.c Replace all occurrences of AVERROR_NOTSUPP with AVERROR(ENOSYS). 2007-07-19 15:38:33 +00:00
vocenc.c Replace ENOSYS by ENOTSUP as in this case the problem is not really a function 2007-07-20 08:05:27 +00:00
wav.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
wc3movie.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
westwood.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00
wv.c Add the handling of the INT32INFO block to the WavPack decoder. 2007-08-05 05:56:34 +00:00
x11grab.c Correct one Doxygen entry, replacing NOMEM with AVERROR(ENOMEM). 2007-07-19 15:37:44 +00:00
yuv4mpeg.c Replace all occurrences of AVERROR_IO with AVERROR(EIO). 2007-07-19 15:23:32 +00:00