Statistics
| Branch: | Revision:

ffmpeg / libavformat / asf.c @ 03c09e43

History | View | Annotate | Download (40.3 KB)

# Date Author Comment
7abe4380 02/03/2008 11:18 AM Reimar Döffinger

Remove ff_mms_set_stream_selection again from asf demuxer,
it does not seem like a good solution to the problem and will
cause dependency problems if a libavprotocols should be split out.

Originally committed as revision 11827 to svn://svn.ffmpeg.org/ffmpeg/trunk

4d65da42 02/02/2008 09:17 PM Reimar Döffinger

Put is_mms under ifdef CONFIG_MMSH_PROTOCOL, avoids warning:
libavformat/asf.c:112: warning: 'is_mms' defined but not used

Originally committed as revision 11815 to svn://svn.ffmpeg.org/ffmpeg/trunk

3dc761a4 01/31/2008 12:22 AM Baptiste Coudurier

typo, also fix warning: asf.c:90: warning: passing argument 2 of 'get_buffer' from incompatible pointer type

Originally committed as revision 11681 to svn://svn.ffmpeg.org/ffmpeg/trunk

efc90ebf 12/23/2007 06:08 PM Reimar Döffinger

begining -> beginning typo fix

Originally committed as revision 11309 to svn://svn.ffmpeg.org/ffmpeg/trunk

cd31f8dc 12/20/2007 12:26 AM Aurelien Jacobs

cosmetics: indentation

Originally committed as revision 11279 to svn://svn.ffmpeg.org/ffmpeg/trunk

fd2982a0 12/20/2007 12:25 AM Aurelien Jacobs

remove double check of pb->read_seek

Originally committed as revision 11278 to svn://svn.ffmpeg.org/ffmpeg/trunk

fa13095a 12/17/2007 09:28 AM Björn Axelsson

Enable av_read_pause(), av_read_play() and the ASF demuxer's av_read_seek()
to use the protocol-native functionality if available.
Patch by Björn Axelsson: bjorn point axelsson at intinor dot se
Original thread: [FFmpeg-devel] [PATCH][4/4] Enable use of the extended API...

899681cd 11/21/2007 07:41 AM Björn Axelsson

Use dynamically allocated ByteIOContext in AVFormatContext

patch by: Björn Axelsson, bjorn d axelsson a intinor d se
thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007

Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk

0d4e281c 11/14/2007 07:31 AM Patrice Bensoussan

Add support for reading WM/Year tag

Patch by: patrice bensoussan a free d fr

Originally committed as revision 11010 to svn://svn.ffmpeg.org/ffmpeg/trunk

49ce700a 11/06/2007 04:19 PM Björn Axelsson

Allow propagation of stream selection through the ASF demuxer to the
MMSH protocol handler.
Patch by Björn Axelsson: bjorn ; axelsson § intinor : se
Original thread:
[FFmpeg-devel] [PATCH] MMSH stream selection support for asf demuxer
Date: 11/02/2007 11:51 AM...

72be7db4 10/20/2007 02:25 PM Reimar Döffinger

Add support for decrypting asf files

Originally committed as revision 10821 to svn://svn.ffmpeg.org/ffmpeg/trunk

5d25d2a9 10/14/2007 05:44 PM Diego Biurrun

cosmetics: Move asf_read_close() down to get rid of a forward declaration.

Originally committed as revision 10735 to svn://svn.ffmpeg.org/ffmpeg/trunk

29a7b8ef 10/12/2007 11:25 PM Ramiro Polla

Fix memleak
Closes issue 102

Originally committed as revision 10719 to svn://svn.ffmpeg.org/ffmpeg/trunk

6ec14b33 09/09/2007 05:54 PM Patrice Bensoussan

Improve track number decoding for some WMA files
patch by Patrice Bensoussan patrice P bensoussan A free P fr
Original thread:
Date: Sep 9, 2007 12:33 PM
Subject: [FFmpeg-devel] [PATCH] Improve track number decoding for some WMA files

Originally committed as revision 10462 to svn://svn.ffmpeg.org/ffmpeg/trunk

da0b94f5 09/02/2007 03:58 PM Michael Niedermayer

workaround ms (lack of) intelligence in their design of dvr-ms
yes kids you do not make 90% of your file contain empty dummy packets
closes issue76

Originally committed as revision 10280 to svn://svn.ffmpeg.org/ffmpeg/trunk

a9054d91 08/17/2007 06:49 AM Björn Axelsson

store asf streaming bitrates consistently
patch by Björn Axelsson: [bjorn axelsson intinor se]

Originally committed as revision 10130 to svn://svn.ffmpeg.org/ffmpeg/trunk

b43387d4 08/06/2007 08:37 PM Michael Niedermayer

more verbose error

Originally committed as revision 9964 to svn://svn.ffmpeg.org/ffmpeg/trunk

371bf806 08/06/2007 08:36 PM Michael Niedermayer

ignore preroll, it is generally not what AVStream.start_time should contain

Originally committed as revision 9963 to svn://svn.ffmpeg.org/ffmpeg/trunk

60ff1c44 07/27/2007 12:29 AM Michael Niedermayer

ignore invalid packet_obj_size
fixes video5.asf

Originally committed as revision 9807 to svn://svn.ffmpeg.org/ffmpeg/trunk

6f3e0b21 07/19/2007 03:23 PM Panagiotis Issaris

Replace all occurrences of AVERROR_IO with AVERROR.

Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk

629272d8 06/15/2007 09:10 AM Patrice Bensoussan

Add support for track numbers when they are set via strings
patch by Patrice Bensoussan: patrice bensoussan free fr

Originally committed as revision 9318 to svn://svn.ffmpeg.org/ffmpeg/trunk

755bfeab 06/12/2007 09:29 AM Diego Biurrun

misc spelling fixes

Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk

18d915dd 05/06/2007 12:04 PM Zuxy Meng

cosmetics: Fix indentation after last commit, patch by Zuxy Meng.

Originally committed as revision 8917 to svn://svn.ffmpeg.org/ffmpeg/trunk

d8470737 04/30/2007 03:56 PM Zuxy Meng

use asf stream information to set bitrate
patch by Zuxy Meng zuxy dot meng chez gmail tod com
reference thread: [Ffmpeg-devel] Third Try: Set bit_rate for asf format

Originally committed as revision 8861 to svn://svn.ffmpeg.org/ffmpeg/trunk

57004ff1 04/15/2007 01:51 PM Aurelien Jacobs

add an enum for need_parsing

Originally committed as revision 8742 to svn://svn.ffmpeg.org/ffmpeg/trunk

6fea687e 04/12/2007 08:11 AM John Donaghy

DVR-MS probe audio format
patch by John Donaghy \ johnfdonaghy chez gmail dot com /
Original thread:
date: 03/13/2007 04:56 PM
subject: [Ffmpeg-devel] [PATCH] DVR-MS probe audio format - was DVR-MS bug (MP2 decoding)

Originally committed as revision 8715 to svn://svn.ffmpeg.org/ffmpeg/trunk

87e87886 04/08/2007 11:34 AM Michael Niedermayer

allocate 32 extra bytes at the end of the probe buffer and remove most probe buf_size checks

Originally committed as revision 8677 to svn://svn.ffmpeg.org/ffmpeg/trunk

0c0d17f3 03/30/2007 04:20 PM Michael Niedermayer

fix demuxing of IMAG0002.ASF

Originally committed as revision 8558 to svn://svn.ffmpeg.org/ffmpeg/trunk

0b339acb 03/28/2007 02:48 PM Baptiste Coudurier

revert r8538 (set bit rate for asf format) until regression tests issue is stated

Originally committed as revision 8539 to svn://svn.ffmpeg.org/ffmpeg/trunk

4d38ebfd 03/28/2007 12:03 PM Zuxy Meng

set bit rate for asf format, patch by Zuxy Meng, zuxy meng gmail com

Originally committed as revision 8538 to svn://svn.ffmpeg.org/ffmpeg/trunk

09d9672a 03/11/2007 03:36 AM Michael Niedermayer

fix gsize=0 / -1 case (if(<24) goto fail) before it is not a good idea

Originally committed as revision 8320 to svn://svn.ffmpeg.org/ffmpeg/trunk

b9c6d01b 03/05/2007 01:19 AM Michael Niedermayer

off by one error

Originally committed as revision 8236 to svn://svn.ffmpeg.org/ffmpeg/trunk

0e3b6a6f 02/20/2007 11:44 PM Ryan Martell

Add the stream_bitrate GUID to the asf parsing code, and set stream bitrate
properties accordingly.
Patch by Ryan Martell, rdm4 % martellventures com.

Originally committed as revision 8046 to svn://svn.ffmpeg.org/ffmpeg/trunk

559a55ad 02/10/2007 03:36 AM Michael Niedermayer

use dvr-ms timestamps

Originally committed as revision 7905 to svn://svn.ffmpeg.org/ffmpeg/trunk

a836a2c8 02/02/2007 02:33 PM Zuxy Meng

Set correct aspect ratio (it's sample aspect, not display aspect)

Patch by Zuxy Meng
(mail = `echo "Zuxy Meng" | tr "[A-Z] " "[a-z]." | sed "s/$/@gmail.com/"`)

Originally committed as revision 7806 to svn://svn.ffmpeg.org/ffmpeg/trunk

30e88789 01/31/2007 11:32 PM Michael Niedermayer

extract aspect ratio

Originally committed as revision 7791 to svn://svn.ffmpeg.org/ffmpeg/trunk

f8f0a0bd 01/29/2007 02:54 PM Michael Niedermayer

fix seeking in wma

Originally committed as revision 7759 to svn://svn.ffmpeg.org/ffmpeg/trunk

de3ae959 01/27/2007 12:07 PM Michael Niedermayer

stealing a few field names from mplayers asf demuxer

Originally committed as revision 7725 to svn://svn.ffmpeg.org/ffmpeg/trunk

0fd9e6f3 01/23/2007 09:25 PM Michael Niedermayer

make the asf demuxer resistant against insertion/deletion errors

Originally committed as revision 7672 to svn://svn.ffmpeg.org/ffmpeg/trunk

f7835507 01/22/2007 09:38 PM Michael Niedermayer

consistant error return for asf_get_packet()

Originally committed as revision 7657 to svn://svn.ffmpeg.org/ffmpeg/trunk

92216453 01/22/2007 09:33 PM Michael Niedermayer

better padsize check

Originally committed as revision 7656 to svn://svn.ffmpeg.org/ffmpeg/trunk

0b93103a 01/22/2007 09:31 PM Michael Niedermayer

more correct error message

Originally committed as revision 7655 to svn://svn.ffmpeg.org/ffmpeg/trunk

ceba96cb 01/22/2007 09:28 PM Michael Niedermayer

replace wrong return 0 by -1

Originally committed as revision 7654 to svn://svn.ffmpeg.org/ffmpeg/trunk

13f7e4b9 01/22/2007 09:17 PM Michael Niedermayer

check to detect nonsense fragment size

Originally committed as revision 7653 to svn://svn.ffmpeg.org/ffmpeg/trunk

1ae7518d 01/22/2007 05:06 PM Michael Niedermayer

inden(ta)tion

Originally committed as revision 7652 to svn://svn.ffmpeg.org/ffmpeg/trunk

200026aa 01/22/2007 05:01 PM Michael Niedermayer

replace nonsense code by something which makes at least some sense

Originally committed as revision 7651 to svn://svn.ffmpeg.org/ffmpeg/trunk

4c71d727 01/22/2007 04:37 PM Michael Niedermayer

check fragment offset and size
yes this too could have been exploitable ...

Originally committed as revision 7650 to svn://svn.ffmpeg.org/ffmpeg/trunk

ae60a857 01/22/2007 12:55 PM Michael Niedermayer

move frame header reading into its own function

Originally committed as revision 7649 to svn://svn.ffmpeg.org/ffmpeg/trunk

b04d5d31 01/22/2007 12:52 PM Michael Niedermayer

more correct packet alignment check and correction

Originally committed as revision 7648 to svn://svn.ffmpeg.org/ffmpeg/trunk

5e2a4855 01/22/2007 12:33 PM Michael Niedermayer

10l

Originally committed as revision 7647 to svn://svn.ffmpeg.org/ffmpeg/trunk

4e15cc8b 01/22/2007 11:04 AM Michael Niedermayer

cosmetics (aligne stuff nicely)

Originally committed as revision 7645 to svn://svn.ffmpeg.org/ffmpeg/trunk

d045b8c1 01/22/2007 11:03 AM Michael Niedermayer

get rid of some sensless malloc/free

Originally committed as revision 7644 to svn://svn.ffmpeg.org/ffmpeg/trunk

916bb12c 01/22/2007 11:01 AM Michael Niedermayer

simplify

Originally committed as revision 7643 to svn://svn.ffmpeg.org/ffmpeg/trunk

6bb2a2df 01/22/2007 10:53 AM Michael Niedermayer

remove a few unused and duplicated variables

Originally committed as revision 7642 to svn://svn.ffmpeg.org/ffmpeg/trunk

05219463 01/22/2007 03:19 AM Michael Niedermayer

adding a few checks to the audio packet descrambling, this should hopefully catch all related out of array accesses
note, the original code might have been exploitable

Originally committed as revision 7640 to svn://svn.ffmpeg.org/ffmpeg/trunk

b83e83b9 01/22/2007 01:21 AM Michael Niedermayer

cosmetic

Originally committed as revision 7639 to svn://svn.ffmpeg.org/ffmpeg/trunk

fc9eb137 01/22/2007 12:20 AM Michael Niedermayer

these variables seem to be unused on the demuxer side so theres no sense in setting them

Originally committed as revision 7636 to svn://svn.ffmpeg.org/ffmpeg/trunk

236116cb 01/21/2007 11:03 PM Michael Niedermayer

get rid of a few idiotic asserts()

Originally committed as revision 7632 to svn://svn.ffmpeg.org/ffmpeg/trunk

b586d9ea 01/21/2007 10:46 PM Michael Niedermayer

useless &0x80

Originally committed as revision 7631 to svn://svn.ffmpeg.org/ffmpeg/trunk

fe468b33 01/21/2007 08:15 PM Michael Niedermayer

remove sensless casts

Originally committed as revision 7612 to svn://svn.ffmpeg.org/ffmpeg/trunk

24c14d6d 01/21/2007 08:06 PM Michael Niedermayer

simplify GUIDs

Originally committed as revision 7611 to svn://svn.ffmpeg.org/ffmpeg/trunk

b086d4ff 01/15/2007 11:47 PM Michael Niedermayer

fix segfault with http://sam.zoy.org/zzuf/lol-ffplay.wmv

Originally committed as revision 7539 to svn://svn.ffmpeg.org/ffmpeg/trunk

62ade082 12/28/2006 12:24 AM Patrice Bensoussan

Decode genre on asf/wma files.
patch by patrice.bensoussan at free.fr

Originally committed as revision 7379 to svn://svn.ffmpeg.org/ffmpeg/trunk

73fe1052 12/04/2006 03:46 PM Ryan Martell

Minor modifications to handle mms streaming.
Patch by Ryan Martell rdm4 martellventures com.

Originally committed as revision 7221 to svn://svn.ffmpeg.org/ffmpeg/trunk

db5c43b4 11/14/2006 02:37 PM Zuxy Meng

Use common macro PUT_UTF8 in asf.c
Patch by Zuxy Meng, % zuxy P meng A gmail P com
date: Nov 5, 2006 9:56 AM
subject: [Ffmpeg-devel] PUT_UTF8 x%x
asf format enhancement

Originally committed as revision 7059 to svn://svn.ffmpeg.org/ffmpeg/trunk

949b1a13 11/01/2006 10:39 PM Steve L'Homme

Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts.
patch by Steve Lhomme, slhomme divxcorp com

Originally committed as revision 6868 to svn://svn.ffmpeg.org/ffmpeg/trunk

7fbde343 10/23/2006 08:57 AM Aurelien Jacobs

replace coder/decoder file description in libavformat by muxer/demuxer

Originally committed as revision 6774 to svn://svn.ffmpeg.org/ffmpeg/trunk

ccd3228e 10/14/2006 08:43 PM Dominik Mierzejewski

Use proper PRI?64 macros for %ll? format to fix printf format warnings:
utils.c:833: warning: format ‘%lld’ expects type ‘long long int’, but argument 5 has type ‘int64_t’
utils.c:833: warning: format ‘%lld’ expects type ‘long long int’, but argument 6 has type ‘int64_t’...

b78e7197 10/07/2006 03:30 PM Diego Biurrun

Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk

5b11e081 09/27/2006 09:19 PM Michael Niedermayer

prevent infinite loop with VORC012.WMA

Originally committed as revision 6361 to svn://svn.ffmpeg.org/ffmpeg/trunk

191e8ca7 09/27/2006 07:47 PM Måns Rullgård

fix some signedness warnings

Originally committed as revision 6355 to svn://svn.ffmpeg.org/ffmpeg/trunk

52e54612 08/23/2006 08:24 PM Michael Niedermayer

fix fallback if theres no index
fix index less seeking

Originally committed as revision 6055 to svn://svn.ffmpeg.org/ffmpeg/trunk

56c96a22 08/23/2006 05:07 PM Michael Niedermayer

read and use index (based on a patch by John Donaghy on the 23-03-2006 '[Ffmpeg-devel] dvr-ms seek help request')

Originally committed as revision 6054 to svn://svn.ffmpeg.org/ffmpeg/trunk

052aa2ad 08/23/2006 04:26 PM Steve L'Homme

value_num should also be 64bit (1 hunk from the asf seeking patch by DrDivx/Steve Lhomme)

Originally committed as revision 6053 to svn://svn.ffmpeg.org/ffmpeg/trunk

7ad5455c 08/23/2006 04:24 PM Michael Niedermayer

total_size should be 64bit (1 hunk of the asf seeking patch from DrDivx / Steve Lhomme)

Originally committed as revision 6052 to svn://svn.ffmpeg.org/ffmpeg/trunk

b6eaae39 07/29/2006 04:07 PM Kohn Emil Dan

The reader ignores the size of the ASF data object and keeps on
reading even beyond it.
Therefore if the ASF file includes an index object at its end, the
reader will treat the index like data, but of course will fail since
it thinks that the data is corrupted....

9d9f4119 07/12/2006 12:09 AM Måns Rullgård

move common stuff from avienc.c and wav.c to new file riff.c

Originally committed as revision 5720 to svn://svn.ffmpeg.org/ffmpeg/trunk

ff70e601 07/10/2006 09:14 PM Måns Rullgård

allow individual selection of muxers and demuxers

Originally committed as revision 5707 to svn://svn.ffmpeg.org/ffmpeg/trunk

d2a067d1 07/09/2006 11:40 PM Måns Rullgård

give AVInput/OutputFormat structs consistent names

Originally committed as revision 5697 to svn://svn.ffmpeg.org/ffmpeg/trunk

a5e9102b 06/16/2006 07:54 AM Måns Rullgård

free codec extradata in av_close_input_file

Originally committed as revision 5484 to svn://svn.ffmpeg.org/ffmpeg/trunk

38cf2a72 03/02/2006 07:50 PM Michael Niedermayer

timebase fix

Originally committed as revision 5099 to svn://svn.ffmpeg.org/ffmpeg/trunk

30a43f2d 03/01/2006 11:29 AM Michael Niedermayer

add size to AVIndex

Originally committed as revision 5083 to svn://svn.ffmpeg.org/ffmpeg/trunk

1bd86246 02/25/2006 10:41 PM Måns Rullgård

kill some warnings

Originally committed as revision 5063 to svn://svn.ffmpeg.org/ffmpeg/trunk

6df84c3a 02/12/2006 02:24 AM Alex Beregszaszi

10l, fails to compile when debug enabled

Originally committed as revision 4998 to svn://svn.ffmpeg.org/ffmpeg/trunk

88141c91 01/20/2006 11:48 PM Michael Niedermayer

audio in dvr-ms demuxing support by (John Donaghy <johnfdonaghy gmail com<)

Originally committed as revision 4874 to svn://svn.ffmpeg.org/ffmpeg/trunk

5509bffa 01/12/2006 10:43 PM Diego Biurrun

Update licensing information: The FSF changed postal address.

Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk

bb270c08 12/22/2005 01:10 AM Diego Biurrun

COSMETICS: tabs --> spaces, some prettyprinting

Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk

115329f1 12/17/2005 06:14 PM Diego Biurrun

COSMETICS: Remove all trailing whitespace.

Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk

4733abcb 12/12/2005 01:56 AM Måns Rullgård

use PRIxN, %zd, %td formats where needed

Originally committed as revision 4740 to svn://svn.ffmpeg.org/ffmpeg/trunk

fa379405 10/26/2005 12:15 PM Patrice Bensoussan

Fix asf header decoding issue, patch by < patrice -- bensoussan AH gmail -- com >
http://avifile.sourceforge.net/asf-1.0.htm has more info about asf headers
Original thread:
Date: Oct 22, 2005 11:44 PM
Subject: [Ffmpeg-devel] [PATCH] Fix asf header decoding issue...

a9e35095 09/23/2005 12:25 AM Diego Biurrun

Replace CONFIG_ENCODERS/CONFIG_DECODERS with CONFIG_MUXERS/CONFIG_DEMUXERS
in libavformat to allow building (de)coders and (de)muxers independently at
some point + support for this option in configure.

Originally committed as revision 4611 to svn://svn.ffmpeg.org/ffmpeg/trunk

ae38261e 08/10/2005 11:41 PM Mike Brown

changes to ignore command media embedded in MS WMV files patch by ("Brown, Mike": mikeb, vibephone com)

Originally committed as revision 4501 to svn://svn.ffmpeg.org/ffmpeg/trunk

47627aec 07/27/2005 07:31 AM Michael Niedermayer

round pointer up to next packet_size multiple

Originally committed as revision 4479 to svn://svn.ffmpeg.org/ffmpeg/trunk

01f4895c 07/17/2005 10:24 PM Michael Niedermayer

changing AVCodecContext codec -> *codec in AVStream so additions to AVCodecContext dont randomize AVStream and break binary compatibility

Originally committed as revision 4453 to svn://svn.ffmpeg.org/ffmpeg/trunk

724dc20c 06/23/2005 12:12 AM Michael Niedermayer

typo

Originally committed as revision 4387 to svn://svn.ffmpeg.org/ffmpeg/trunk

2692067a 05/26/2005 08:17 PM Michael Niedermayer

AVPacket.pos

Originally committed as revision 4314 to svn://svn.ffmpeg.org/ffmpeg/trunk

c0df9d75 04/30/2005 09:43 PM Michael Niedermayer

switch to native time bases

Originally committed as revision 4168 to svn://svn.ffmpeg.org/ffmpeg/trunk

160d679c 04/24/2005 05:21 PM Mike Melanson

Ministry of English Composition, reporting for duty (and the word is "skipped", not "skiped"; "skiped" would rhyme with "hyped")

Originally committed as revision 4153 to svn://svn.ffmpeg.org/ffmpeg/trunk

0ffd77b9 04/19/2005 12:35 AM Michael Niedermayer

fixing demuxing of DV5700.asf

Originally committed as revision 4138 to svn://svn.ffmpeg.org/ffmpeg/trunk

f3356e9c 03/17/2005 01:25 AM Michael Niedermayer

more fine grained discarding of packets

Originally committed as revision 4051 to svn://svn.ffmpeg.org/ffmpeg/trunk