History | View | Annotate | Download (46.2 KB)
asfdec: also subtract preroll when reading simple index object
This was missed when ASF was changed to return timestampswithout preroll.
Signed-off-by: Mans Rullgard <mans@mansr.com>
avio: make av_url_read_fseek/fpause internal.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Replace FFmpeg with Libav in licence headers
asfdec: subtract the preroll value and thus output 0 based timestamps
lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes sense
avio: deprecate url_ferror
AVIOContext.error should be used directly instead.
avio: deprecate url_feof
AVIOContext.eof_reached should be used directly instead.
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.
asfdec: fix build for big endian targets
asfdec: don't export empty metadata
asfdec: split reading stream properties out of asf_read_header()
This contains a rename from gsize->size
asfdec: deobfuscate reading video properties size
This code will be later split out into a function which takes a 'size'argument, so I'm keeping the name 'sizeX' here.
asfdec: split asf_read_header()
Only trivial splits are done here -- i.e. copy/paste + reindent +missing variable declarations.
asfdec: skip the stream bitrate list
Its contents aren't used for anything.
asfdec: use an ASFContext array for storing stream bitrates
This will be useful for splitting asf_read_header()
asfdec: move DAR list to ASFContext
asfdec: remove some write-only values from the context
asf: split ASFContext into muxer and demuxer parts.
asf: make ff_guidcmp inline and move it to asf.h
Replace dprintf with av_dlog
dprintf clashes with POSIX.1-2008
asfdec: ensure that the whole tag is read.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
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.
asfdec: remove some commented-out cruft
lavf: make a variant of ff_get_str16_nolen public
It will be useful in mp3 demuxer and hopeful some other places.
make guid utility function visibile to other modules (ff_guidcmp, ff_get_guid)
Originally committed as revision 26093 to svn://svn.ffmpeg.org/ffmpeg/trunk
Change ASF demuxer to return incomplete last packets.Whether the behaviour for streams using scrambling makes senseis unclear.
Originally committed as revision 26053 to svn://svn.ffmpeg.org/ffmpeg/trunk
Return an error when get_buffer reads none or only partial data insteadof returning packets with uninitialized data.Returning partial packets as for other demuxers is problematice due topacket scrambling and thus is not done.
Originally committed as revision 25931 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ensure that packets returned from ASF demuxer are properly 0-padded.
Originally committed as revision 25930 to svn://svn.ffmpeg.org/ffmpeg/trunk
skip top-level objects to search for the simple index in ASF files
Originally committed as revision 25863 to svn://svn.ffmpeg.org/ffmpeg/trunk
add ff_ prefix to metadata_conv()patch by Anton Khirnov anton at khirnov dot net
Originally committed as revision 25505 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
Replace deprecated CODEC_TYPE_AUDIO and CODEC_TYPE_VIDEO with thecorresponding AVMEDIA_TYPE_* symbols.
Originally committed as revision 25201 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix indentation after r25158.
Originally committed as revision 25160 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix aspect ratio for files that have it stored inff_asf_extended_content_header.Fixes issue 690.
Patch by Richard Buteau, rbuteau rgbnetworks com
Originally committed as revision 25158 to svn://svn.ffmpeg.org/ffmpeg/trunk
asfdec: 10l, fix the minimum asf video stream header size
This fixes the regression test breakage.
Originally committed as revision 24354 to svn://svn.ffmpeg.org/ffmpeg/trunk
asfdec: Don't read the video stream header if there isn't enough data
Originally committed as revision 24352 to svn://svn.ffmpeg.org/ffmpeg/trunk
asfdec: Handle asf_jfif_media
Originally committed as revision 24351 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
Ignore extradata & w/h in asf/dvr.The w/h values are wrong and extradata contains a fake seq header that causesdecoding to fail later, a valid seq header is in the stream itself.Partially fixes issue658
Originally committed as revision 24082 to svn://svn.ffmpeg.org/ffmpeg/trunk
asfdec: ensure number of streams is within bounds; remove VLA in asf_read_pts()
Originally committed as revision 23756 to svn://svn.ffmpeg.org/ffmpeg/trunk
Continue after guids in asf after which other guids are possible instead of skipingover the stored size.Fixes issue2029
Originally committed as revision 23732 to svn://svn.ffmpeg.org/ffmpeg/trunk
Parse and repack the first frame of H.264 in ASF because SPS+PPS lives in its own packet.
Originally committed as revision 23333 to svn://svn.ffmpeg.org/ffmpeg/trunk
Favor chunk size over hitting the correct position after reading the chunk size in asf.Fixes issue1923
Originally committed as revision 23040 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
Use ASF supports "markers" which are a name and a time stamp to createlavf chapters.Patch by Vladimir Pantelic pan (arobase) nt tu (dash) darmstadt de
Originally committed as revision 22326 to svn://svn.ffmpeg.org/ffmpeg/trunk
asfdec: don't strip the "WM/" prefix, this should be done during conversion.Patch by Anton Khirnov wyskas gmail com
Originally committed as revision 22057 to svn://svn.ffmpeg.org/ffmpeg/trunk
Read ASF metadata as proper UTF-16 and spit it out as proper UTF-8 in ourmetadata system.
Patch by Anton Khirnov <wyskas gmail com>.
Originally committed as revision 22034 to svn://svn.ffmpeg.org/ffmpeg/trunk
asfdec: skip byte array tags.Patch from Anton Khirnov wyskas gmail
Originally committed as revision 22019 to svn://svn.ffmpeg.org/ffmpeg/trunk
asfdec: add a debug message about skipped tags.Patch from Anton Khirnov wyskas gmail
Originally committed as revision 22018 to svn://svn.ffmpeg.org/ffmpeg/trunk
asfdec: fix a memleak.Patch from Anton Khirnov wyskas gmail
Originally committed as revision 22017 to svn://svn.ffmpeg.org/ffmpeg/trunk
asfdec: only unicode tags must have even length.Patch from: Anton Khirnov wyskas gmail
Originally committed as revision 22016 to svn://svn.ffmpeg.org/ffmpeg/trunk
workaround for broken files created by previous versions of asfenc.
Patch by Anton Khirnov, wyskas gmail
Originally committed as revision 21840 to svn://svn.ffmpeg.org/ffmpeg/trunk
Only add 1 index entry per keyframe.Idea from a patch by samsung.
Originally committed as revision 20888 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use AV_METADATA_DONT_STRDUP* / use av_malloced metadata instead of strdupedarrays of fixed length.Code from ffmbc with changes to adapt to our metadata API.
Originally committed as revision 20836 to svn://svn.ffmpeg.org/ffmpeg/trunk
Detect Windows Media DRM protected files and display warning if no keywas provided.
Patch by Daniel G. Taylor, dan programmer-art org
Originally committed as revision 20209 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix incorrect display of ASF/WMV duration after r12926.
Patch by Josh Harris, qt tateu net
Originally committed as revision 19748 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add handling of EAGAIN at packet boundaries. See "[PATCH] RTSP-MS 14/15:ASF packet parsing" thread for discussion / reasoning.
Originally committed as revision 19509 to svn://svn.ffmpeg.org/ffmpeg/trunk
Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
Check for packet_length 0, it is already treated as invalid by the padding check,but that resulted in a confusing/wrong error message.
Originally committed as revision 19361 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix indentation
Originally committed as revision 19331 to svn://svn.ffmpeg.org/ffmpeg/trunk
Avoid divisions by 0 in the ASF demuxer if packet_size is not valid.
Originally committed as revision 19330 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove any reference to ASFContext.packet_size and replace it withAVFormatContext.packet_size. See "[PATCH] asf*.c/h: useAVFormatContext->packet_size instead of own copy" thread on ML.
Originally committed as revision 19270 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
Make asf_get_packet() and asf_parse_packet() static. See "[PATCH] asfdec.c:make get/parse_packet static" thread from 2 months ago.
Originally committed as revision 19140 to svn://svn.ffmpeg.org/ffmpeg/trunk
fix get_str16_nolen with odd len, fix #1065
Originally committed as revision 18929 to svn://svn.ffmpeg.org/ffmpeg/trunk
move DEBUG define before include to get dprintf and move guidcmp before print_guid, fix compilation with DEBUG
Originally committed as revision 18928 to svn://svn.ffmpeg.org/ffmpeg/trunk
Per-stream language-tags extraction in asfdec.Patch by Cyril Comparon: gmail(name, surname);Original thread: Suggestion for a centralized language-tag facility in libavformatDate: 04/10/2009 07:33 PM
Originally committed as revision 18800 to svn://svn.ffmpeg.org/ffmpeg/trunk
Mark gsize variable as av_unused, fixes the warning:libavformat/asfdec.c:995: warning: unused variable ‘gsize’
Originally committed as revision 18620 to svn://svn.ffmpeg.org/ffmpeg/trunk
Revert previous removal of gsize variable. It breaks seeking.
Originally committed as revision 18618 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove unused variable gsize, fixes the warning:libavformat/asfdec.c:995: warning: unused variable 'gsize'
Originally committed as revision 18607 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove nonsensical assignment from asf_read_seek() found by CSA.
Originally committed as revision 18565 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove unused variable from asf_read_header() found by CSA.
Originally committed as revision 18555 to svn://svn.ffmpeg.org/ffmpeg/trunk
Change another AVERROR inot AVERROR_EOF, because it really signals EOF,not a stream error. This also fixes an infinite loop on EOS during ASF fileplayback, and Michael claims he "likes the patch" (ref: [PATCH] RTSP-MS15/15: move packet_time_start zero value assignment in asf.c" mailinglist...
Moving variable declarations in asf_build_simple_index() to clarify&prettify code.
Originally committed as revision 18543 to svn://svn.ffmpeg.org/ffmpeg/trunk
Replace AVERROR by AVERROR_EOF on end-of-file. See mailinglistthread "[PATCH] RTSP-MS 15/15: move packet_time_start zero valueassignment in asf.c".
Originally committed as revision 18531 to svn://svn.ffmpeg.org/ffmpeg/trunk
Don't strip the first three characters off of any metadata in ASF file.See "[FFmpeg-devel] [PATCH] asf fix" thread. Patch contributed byDavid DeHaven <dave sagetv com>.
Originally committed as revision 18213 to svn://svn.ffmpeg.org/ffmpeg/trunk
Rename GUID typedef to ff_asf_guid to fix MinGW compilation failure(GUID is also defined, but differently, in Windows headers).
Originally committed as revision 18032 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add a special guidcmp function to compare ASF guids, to avoid the manyduplicated sizeof(GUID).
Originally committed as revision 18030 to svn://svn.ffmpeg.org/ffmpeg/trunk
cosmetics: fix indentation, patch by avcoder, ffmpeg gmail com
Originally committed as revision 18022 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add some basic metadata conversion tables for matroska and asf.Add missing const qualifiers for metadata_conv in AV{In|Out}putFormat.
Originally committed as revision 17671 to svn://svn.ffmpeg.org/ffmpeg/trunk
move static tables from asf.h to non-static tables in asf.cthis avoid getting those tables duplicated in asfenc.o and asfdec.o
Originally committed as revision 17619 to svn://svn.ffmpeg.org/ffmpeg/trunk
rename asf-enc.c to asfenc.c and asf.c to asfdec.c for consistency
Originally committed as revision 17618 to svn://svn.ffmpeg.org/ffmpeg/trunk