History | View | Annotate | Download (29.9 KB)
avio: introduce an AVIOContext.seekable field
Use it instead of url_is_streamed and AVIOContext.is_streamed.
avio: make get_checksum() internal.
avio: make init_checksum() internal.
Replace FFmpeg with Libav in licence headers
Signed-off-by: Mans Rullgard <mans@mansr.com>
lavf: move ff_get_v from avio.h to avio_internal.h
And rename it to ffio_read_varlen.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes sense
avio: deprecate url_feof
AVIOContext.eof_reached should be used directly instead.
avio: avio_ prefix for url_fsize
avio: add avio_tell macro as a replacement for url_ftell
lavf: replace all uses of url_fskip with avio_seek
avio: avio_ prefix for url_fseek
avio: avio_ prefixes for get_* functions
In the name of consistency:get_byte -> avio_r8get_<type> -> avio_r<type>get_buffer -> avio_read
get_partial_buffer will be made private later
get_strz is left out becase I want to change it later to return...
avio: rename ByteIOContext to AVIOContext.
Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.
This also lists the objects from those two libraries as internal (by addingthe ff_ prefix) so that they can then be hidden via linker scripts.
Use AVERROR_INVALIDDATA rather than -1 for nutdec error codes.
Originally committed as revision 26321 to svn://svn.ffmpeg.org/ffmpeg/trunk
nutdec: when parsing info packet, set metadata var only once
Originally committed as revision 25558 to svn://svn.ffmpeg.org/ffmpeg/trunk
Export metadata in the generic format. Deprecate old conversion API.patch by Anton Khirnov anton at khirnov dot net
Originally committed as revision 25493 to svn://svn.ffmpeg.org/ffmpeg/trunk
rename LAVF_API_* defines to FF_API_* to clarify that it is not public API
Originally committed as revision 24825 to svn://svn.ffmpeg.org/ffmpeg/trunk
add LAVF_API_MAX_STREAMS define to disable the deprecated MAX_STREAMS API
Originally committed as revision 24817 to svn://svn.ffmpeg.org/ffmpeg/trunk
get rid of MAX_STREAMS limit in nutdec
Originally committed as revision 24755 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add av_ prefix to bswap macros
Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
bswap: change ME to NE in macro names
Other parts of FFmpeg use NE (native endian) rather than ME (machine).This makes it consistent.
Originally committed as revision 24169 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix warning "passing argument from incompatible pointer type".
Patch by Eli Friedman, eli d friedman a gmail
Originally committed as revision 24020 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make the nut decoder read the ff_nut_video_tags to detect codec id ofthe input file.
This is required as Nut codec tags are not contained inff_codec_bmp_tags.
Originally committed as revision 23260 to svn://svn.ffmpeg.org/ffmpeg/trunk
Define ff_nut_video_tags and make Nut muxer and demuxer set it incodec_tag.
Originally committed as revision 23259 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make the nut demuxer issue a more meaningful error message if itcannot recognize the provided codec tag.
Originally committed as revision 23071 to svn://svn.ffmpeg.org/ffmpeg/trunk
Mark av_metadata_set() as deprecated, and use av_metadata_set2()in its place.
av_metadata_set() is going to be dropped at the next major bump.
Originally committed as revision 22961 to svn://svn.ffmpeg.org/ffmpeg/trunk
Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.
Patch by Jean-Daniel Dupas, devlists shadowlab org
Originally committed as revision 22744 to svn://svn.ffmpeg.org/ffmpeg/trunk
Define AVMediaType enum, and use it instead of enum CodecType, whichis deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
Replace @returns by @return.
Originally committed as revision 22729 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix NUT (de)muxer warnings:CC libavformat/nutdec.olibavformat/nutdec.c: In function ‘read_seek’:libavformat/nutdec.c:862: warning: passing argument 3 of ‘av_tree_find’ from incompatible pointer type./libavutil/tree.h:44: note: expected ‘int ()(void *, const void *)’ but argument is of type ‘int ()(struct Syncpoint *, struct Syncpoint *)’...
Fix warnings in NUT demuxer:
libavformat/nutdec.c: In function ‘read_seek’:libavformat/nutdec.c:862: warning: passing argument 4 of ‘av_tree_find’ from incompatible pointer type./libavutil/tree.h:44: note: expected ‘void *’ but argument is of type ‘struct Syncpoint *’...
Plug memory leak in NUT muxer and demuxer
Originally committed as revision 22174 to svn://svn.ffmpeg.org/ffmpeg/trunk
Revert r22119 and partially revert 22120.
Originally committed as revision 22135 to svn://svn.ffmpeg.org/ffmpeg/trunk
nutdec: make chapter start and length uint64_t to prevent overflows.Patch by Anton Khirnov wyskas chez gmail punto com
Originally committed as revision 22127 to svn://svn.ffmpeg.org/ffmpeg/trunk
Plug some memory leaks in NUT muxer and demuxer
Originally committed as revision 22120 to svn://svn.ffmpeg.org/ffmpeg/trunk
Introduce metadata conversion table for NUT muxer and demuxer.Patch by Anton Khirnov (wyskas, do no evil mail)Thread "[PATCH] nut metadata conversion table"
Originally committed as revision 22015 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add ff_ prefixes to exported symbols in libavformat/riff.h.patch by Daniel Verkamp, aniel drv nu
Originally committed as revision 19254 to svn://svn.ffmpeg.org/ffmpeg/trunk
use new metadata API in nut demuxer
Originally committed as revision 17652 to svn://svn.ffmpeg.org/ffmpeg/trunk
export gcd function as av_gcd()
Originally committed as revision 16653 to svn://svn.ffmpeg.org/ffmpeg/trunk
Change semantic of CONFIG_*, HAVE_* and ARCH_*.They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix build: Add intreadwrite.h and bswap.h #includes where necessary.
Originally committed as revision 16556 to svn://svn.ffmpeg.org/ffmpeg/trunk
remove _t for POSIX compatibility.
Originally committed as revision 16057 to svn://svn.ffmpeg.org/ffmpeg/trunk
convert every muxer/demuxer to write/read sample_aspect_ratio from/tothe corresponding AVStream instead of AVCodecContext
Originally committed as revision 14933 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.patch by Stefano Sabatini, stefano.sabatini-lala poste.italong with some spelling/consistency fixes for the long names by me
Originally committed as revision 13649 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix memleak, fixed CID123.
Originally committed as revision 13472 to svn://svn.ffmpeg.org/ffmpeg/trunk
Pass time_base as argument to new_chapter() as well.This fixes the wrong timebase the matroska demuxer had after my previous commits.Maybe we should reduce new_chapter() to just (AVFormatContext, int id) ?
Originally committed as revision 13266 to svn://svn.ffmpeg.org/ffmpeg/trunk
Chapter demuxing support. (untested as I have no nuts with chapters)Isn't that much simpler than Matroska?
Originally committed as revision 13263 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use full path for #includes from another directory.
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix 'comparison always false' warning.patch by Diego 'Flameeyes' Pettenò, flameeyes gmail com
Originally committed as revision 13056 to svn://svn.ffmpeg.org/ffmpeg/trunk
typo fixes
Originally committed as revision 12449 to svn://svn.ffmpeg.org/ffmpeg/trunk
Originally committed as revision 12428 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add 'disposition' bitfield to AVStream and use it for both muxing and demuxingof matroska and nut.
Originally committed as revision 12358 to svn://svn.ffmpeg.org/ffmpeg/trunk
Subtitle support. (untested)
Originally committed as revision 12330 to svn://svn.ffmpeg.org/ffmpeg/trunk
factorize
Originally committed as revision 12293 to svn://svn.ffmpeg.org/ffmpeg/trunk
subtitles (codec tag tables still missing ...)
Originally committed as revision 12292 to svn://svn.ffmpeg.org/ffmpeg/trunk
Elision header demuxing support.
Originally committed as revision 11935 to svn://svn.ffmpeg.org/ffmpeg/trunk
Read match time delta in the frame header.We do not do anything with it as lavf does not really support it yet.
Originally committed as revision 11931 to svn://svn.ffmpeg.org/ffmpeg/trunk
Read match_time_delta in the framecode table.
Originally committed as revision 11930 to svn://svn.ffmpeg.org/ffmpeg/trunk
typo fix: inited --> initialized
Originally committed as revision 11920 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove old workaround in nutdec.c for libnut bug
Originally committed as revision 11853 to svn://svn.ffmpeg.org/ffmpeg/trunk
missing " && j<syncpoint_count" protection in the index parsing, as thespec instructs...
Originally committed as revision 11852 to svn://svn.ffmpeg.org/ffmpeg/trunk
ff_nut_reset_ts() expected to get 'ts*time_base_count', but muxer onlygave it 'ts'. Fixed by changing ff_nut_reset_ts() and demuxer params
Originally committed as revision 11851 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix info packet type, found by oded as well as the new pedantic constwarnings.
Originally committed as revision 11843 to svn://svn.ffmpeg.org/ffmpeg/trunk
-Wwrite-strings nitpicking fix
Originally committed as revision 11842 to svn://svn.ffmpeg.org/ffmpeg/trunk
More verbose aspect ratio error msg.
Originally committed as revision 11362 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use dynamically allocated ByteIOContext in AVFormatContext
patch by: Björn Axelsson, bjorn d axelsson a intinor d sethread: [PATCH] Remove static ByteIOContexts, 06 nov 2007
Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add ff_ prefix to get_v()
Originally committed as revision 10912 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make get_v() available to the other demuxers
Originally committed as revision 10911 to svn://svn.ffmpeg.org/ffmpeg/trunk
rename av_crc04C11DB7_update to ff_crc04C11DB7_update and move it to aviobuf.c so it can be reused by other (de)muxers
Originally committed as revision 10873 to svn://svn.ffmpeg.org/ffmpeg/trunk
warning fix:nutdec.c: In function ‘nut_read_timestamp’:nutdec.c:759: warning: label ‘resync’ defined but not used
Originally committed as revision 10506 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove unused variable.
Originally committed as revision 10251 to svn://svn.ffmpeg.org/ffmpeg/trunk
spelling/wording cosmetics
Originally committed as revision 10131 to svn://svn.ffmpeg.org/ffmpeg/trunk
move syncpoint cache related stuff to common file
Originally committed as revision 10038 to svn://svn.ffmpeg.org/ffmpeg/trunk
fix forw_ptr crc checknot really beautiful but i did not find a nice solutionnote, untested
Originally committed as revision 10037 to svn://svn.ffmpeg.org/ffmpeg/trunk
get rid of printf
Originally committed as revision 10033 to svn://svn.ffmpeg.org/ffmpeg/trunk
move lsb2full to common file
Originally committed as revision 10025 to svn://svn.ffmpeg.org/ffmpeg/trunk
move syncpoint timestamp resetting code to a common file
Originally committed as revision 10020 to svn://svn.ffmpeg.org/ffmpeg/trunk
check forw_ptr CRC
Originally committed as revision 10017 to svn://svn.ffmpeg.org/ffmpeg/trunk
make StreamContext.time_base a pointer
Originally committed as revision 10010 to svn://svn.ffmpeg.org/ffmpeg/trunk
Replace all occurrences of AVERROR_NOMEM with AVERROR.
Originally committed as revision 9759 to svn://svn.ffmpeg.org/ffmpeg/trunk
nutdec: don't use deprecated codec_get_{bmp,wav}_id()
Originally committed as revision 9528 to svn://svn.ffmpeg.org/ffmpeg/trunk
license header consistency cosmetics
Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
use new string functionsbased on patch by Reimar Döffinger
Originally committed as revision 9401 to svn://svn.ffmpeg.org/ffmpeg/trunk
fix some printf format specifiers
Originally committed as revision 9334 to svn://svn.ffmpeg.org/ffmpeg/trunk
misc spelling fixes
Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove unused code + variable, fixes a warning.
Originally committed as revision 8794 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make some functions which aren't used outside their declaring source fileand have no prototype in a header file static.patch by Stefan Huehner, stefan huehner org
Originally committed as revision 8686 to svn://svn.ffmpeg.org/ffmpeg/trunk
fix end-of-file detectionAt the end of a nut file, the check for url_feof() fails because theeof flag was cleared by the url_fseek() call that was used to skip overthe index packet. This patch fixes thispatch by: Clemens Ladisch % cladisch A fastmail P net %...
get_packetheader() forgot to read the header_checksum in big packetspatch from Clemens Ladisch cladisch AT fastmail dot net(stray base64 patch reverted in the next commits)
Originally committed as revision 8156 to svn://svn.ffmpeg.org/ffmpeg/trunk
simplify
Originally committed as revision 7602 to svn://svn.ffmpeg.org/ffmpeg/trunk
check max_pts_distance
Originally committed as revision 7100 to svn://svn.ffmpeg.org/ffmpeg/trunk
skip non keyframes after seeking between syncpoint and the first keyframe
Originally committed as revision 7099 to svn://svn.ffmpeg.org/ffmpeg/trunk
remove unused variables
Originally committed as revision 7098 to svn://svn.ffmpeg.org/ffmpeg/trunk
removing unused code
Originally committed as revision 7096 to svn://svn.ffmpeg.org/ffmpeg/trunk
check for frames with 2*size > max_dist and no crc
Originally committed as revision 7076 to svn://svn.ffmpeg.org/ffmpeg/trunk
resync from last syncpoint
Originally committed as revision 7075 to svn://svn.ffmpeg.org/ffmpeg/trunk
remove skip spam
Originally committed as revision 7074 to svn://svn.ffmpeg.org/ffmpeg/trunk
indention
Originally committed as revision 7058 to svn://svn.ffmpeg.org/ffmpeg/trunk
seeking with index
Originally committed as revision 7057 to svn://svn.ffmpeg.org/ffmpeg/trunk