summaryrefslogtreecommitdiff
path: root/libavformat/asfdec.c
Commit message (Collapse)AuthorAgeFilesLines
* Favor chunk size over hitting the correct position after reading the chunk ↵Michael Niedermayer2010-05-071-2/+5
| | | | | | | | 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()Stefano Sabatini2010-04-251-1/+1
| | | | | | | | 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.Jean-Daniel Dupas2010-03-311-3/+3
| | | | | | 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, whichStefano Sabatini2010-03-301-10/+10
| | | | | | is 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.Benoit Fouet2010-03-301-2/+2
| | | | 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 createVladimir Pantelic2010-03-081-0/+27
| | | | | | | lavf 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.Anton Khirnov2010-02-251-2/+0
| | | | | | 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 ourAnton Khirnov2010-02-241-6/+10
| | | | | | | | metadata 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.Benoit Fouet2010-02-241-2/+2
| | | | | | 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.Benoit Fouet2010-02-241-0/+1
| | | | | | Patch from Anton Khirnov wyskas gmail Originally committed as revision 22018 to svn://svn.ffmpeg.org/ffmpeg/trunk
* asfdec: fix a memleak.Benoit Fouet2010-02-241-0/+1
| | | | | | 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.Benoit Fouet2010-02-241-1/+1
| | | | | | 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.Anton Khirnov2010-02-151-0/+4
| | | | | | 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.Michael Niedermayer2009-12-161-1/+4
| | | | | | 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 strdupedMichael Niedermayer2009-12-131-4/+12
| | | | | | | arrays 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 keyDaniel G. Taylor2009-10-111-0/+9
| | | | | | | | was 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.Josh Harris2009-08-301-1/+1
| | | | | | 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:Ronald S. Bultje2009-07-261-0/+8
| | | | | | ASF packet parsing" thread for discussion / reasoning. Originally committed as revision 19509 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace WORDS_BIGENDIAN with HAVE_BIGENDIANMåns Rullgård2009-07-261-1/+1
| | | | 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 ↵Reimar Döffinger2009-07-061-1/+1
| | | | | | | | check, but that resulted in a confusing/wrong error message. Originally committed as revision 19361 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix indentationReimar Döffinger2009-07-031-2/+2
| | | | 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.Reimar Döffinger2009-07-031-0/+4
| | | | Originally committed as revision 19330 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove any reference to ASFContext.packet_size and replace it withRonald S. Bultje2009-06-241-11/+10
| | | | | | | AVFormatContext.packet_size. See "[PATCH] asf*.c/h: use AVFormatContext->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.Daniel Verkamp2009-06-221-2/+2
| | | | | | 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:Ronald S. Bultje2009-06-091-2/+17
| | | | | | 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 #1065Baptiste Coudurier2009-05-241-2/+3
| | | | Originally committed as revision 18929 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move DEBUG define before include to get dprintf and move guidcmp before ↵Baptiste Coudurier2009-05-241-6/+6
| | | | | | 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.Cyril Comparon2009-05-121-1/+32
| | | | | | | | Patch by Cyril Comparon: gmail(name, surname); Original thread: Suggestion for a centralized language-tag facility in libavformat Date: 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:Diego Biurrun2009-04-191-1/+1
| | | | | | 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.Diego Biurrun2009-04-191-0/+1
| | | | Originally committed as revision 18618 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable gsize, fixes the warning:Diego Biurrun2009-04-181-1/+0
| | | | | | 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.Michael Niedermayer2009-04-171-1/+0
| | | | Originally committed as revision 18565 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable from asf_read_header() found by CSA.Michael Niedermayer2009-04-171-2/+0
| | | | Originally committed as revision 18555 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change another AVERROR(EIO) inot AVERROR_EOF, because it really signals EOF,Ronald S. Bultje2009-04-171-1/+1
| | | | | | | | | not a stream error. This also fixes an infinite loop on EOS during ASF file playback, and Michael claims he "likes the patch" (ref: [PATCH] RTSP-MS 15/15: move packet_time_start zero value assignment in asf.c" mailinglist tread). Originally committed as revision 18552 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Moving variable declarations in asf_build_simple_index() to clarify&prettify ↵Michael Niedermayer2009-04-171-10/+7
| | | | | | code. Originally committed as revision 18543 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace AVERROR(EIO) by AVERROR_EOF on end-of-file. See mailinglistRonald S. Bultje2009-04-161-1/+1
| | | | | | | thread "[PATCH] RTSP-MS 15/15: move packet_time_start zero value assignment 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.Ronald S. Bultje2009-03-281-1/+1
| | | | | | | See "[FFmpeg-devel] [PATCH] asf fix" thread. Patch contributed by David 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 failureReimar Döffinger2009-03-181-7/+7
| | | | | | (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 manyReimar Döffinger2009-03-181-19/+24
| | | | | | duplicated sizeof(GUID). Originally committed as revision 18030 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: fix indentation, patch by avcoder, ffmpeg gmail comavcoder2009-03-171-26/+25
| | | | Originally committed as revision 18022 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add some basic metadata conversion tables for matroska and asf.Aurelien Jacobs2009-03-011-0/+1
| | | | | | 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.cAurelien Jacobs2009-02-261-36/+36
| | | | | | this 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 consistencyAurelien Jacobs2009-02-261-0/+1090
Originally committed as revision 17618 to svn://svn.ffmpeg.org/ffmpeg/trunk