Statistics
| Branch: | Revision:

ffmpeg / libavformat / asf.c @ 9c3e2f78

History | View | Annotate | Download (38.9 KB)

# Date Author Comment
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

b9866ebc 01/22/2005 01:36 PM Michael Niedermayer

support discarding uninterresting packets

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

0ecca7a4 01/12/2005 12:16 AM Michael Niedermayer

various security fixes and precautionary checks

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

6c55fd79 12/22/2004 03:04 AM Michael Niedermayer

preroll is in ms
pts should start at start_time

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

6260de6a 12/21/2004 02:01 AM Michael Niedermayer

fix regression test failure

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

3129cd01 11/13/2004 01:27 AM Michael Niedermayer

allocate a few bytes more for extradata so the bitstream reader if its used by the codec for parsing extardata, doesnt read over the end

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

afbb5ce4 10/24/2004 01:07 PM Michael Niedermayer

dvr-ms video decoding support

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

3ba1438d 10/10/2004 10:05 PM Michael Niedermayer

use native timebase for seeking
direction flag for seeking

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

0bd586c5 06/19/2004 03:59 AM Mike Melanson

sweeping change from -EIO -> AVERROR_IO

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

cdd5034f 05/23/2004 04:26 PM Michael Niedermayer

store index for seeking in the native timebase of each stream
set correct timebase for nut
merge mpeg-ts seeking with existing seeking code
10l fix in mpegts (27mhz vs. 90khz)

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

9ee91c2f 05/21/2004 08:43 PM Michael Niedermayer

move time_base (pts_num/pts_den) from AVFormatContext -> AVStream

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

8d14a25c 04/12/2004 04:50 PM Michael Niedermayer

moving nearly identical binary search code from nut/mpeg/asf to utils.c

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

615b92fd 03/05/2004 10:10 PM Konstantin Andreyev

asf patch by (Konstantin Andreyev <kandreyev at bcsii dot com>)
1. Corrected packet sent time. (Packet sent time => previous packet sent
time)
2. Corrected payload playing time. (Payload playing time => packet sent
time)
3. Used different format for packets with one payload and multi payloads....

542993b0 03/05/2004 09:34 PM Konstantin Andreyev

split asf patch by (Konstantin Andreyev <kandreyev at bcsii dot com>)

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

bc874dae 03/03/2004 03:41 PM Michel Bardiaux

av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)

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

0888ac4f 01/17/2004 08:26 PM Michael Niedermayer

seeking stuff
adaptively change middle position selection algo for seeking, this avoids some ugly worstcases of the interpolated variant
avoid backward search for mpeg where possible, its 17 times slower then forward according to my benchmark

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

3e9245a9 01/17/2004 06:06 PM Michael Niedermayer

store searched distance in index, so we dont waste time searching for keyframes where we already searched
asf seek fixes & use keyframe pos/timestamp cache

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