Anton Khirnov
d928651011
asfdec: skip the stream bitrate list
...
Its contents aren't used for anything.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit d7a5106eb2
)
14 years ago
Anton Khirnov
56a67a8d61
asfdec: use an ASFContext array for storing stream bitrates
...
This will be useful for splitting asf_read_header()
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 7c7253802b
)
14 years ago
Anton Khirnov
26783e8570
asfdec: move DAR list to ASFContext
...
This will be useful for splitting asf_read_header()
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit d42b09723e
)
14 years ago
Anton Khirnov
c3052f1dcc
asfdec: remove some write-only values from the context
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 569ff02168
)
14 years ago
Anton Khirnov
83120e3bd7
asf: split ASFContext into muxer and demuxer parts.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 4bc328a2bd
)
14 years ago
Anton Khirnov
b9afb0446d
asf: make ff_guidcmp inline and move it to asf.h
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit e4e234fad7
)
14 years ago
Luca Barbato
9ef5a9deaf
Replace dprintf with av_dlog
...
dprintf clashes with POSIX.1-2008
(cherry picked from commit dfd2a005eb
)
14 years ago
Anton Khirnov
8270482681
asfdec: ensure that the whole tag is read.
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit 042950542d
)
14 years ago
Diego Elio Pettenò
66355be3c3
Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.
...
This also lists the objects from those two libraries as internal (by adding
the ff_ prefix) so that they can then be hidden via linker scripts.
(cherry picked from commit c6610a216e
)
14 years ago
Anton Khirnov
24519edf64
asfdec: remove some commented-out cruft
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit 2934cd9dbf
)
14 years ago
Anton Khirnov
f9d6b13a23
lavf: make a variant of ff_get_str16_nolen public
...
It will be useful in mp3 demuxer and hopeful some other places.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit 93b78d1210
)
14 years ago
Peter Ross
a750050f4c
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
14 years ago
Reimar Döffinger
bf09a01981
Change ASF demuxer to return incomplete last packets.
...
Whether the behaviour for streams using scrambling makes sense
is unclear.
Originally committed as revision 26053 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Reimar Döffinger
4172951ba7
Return an error when get_buffer reads none or only partial data instead
...
of returning packets with uninitialized data.
Returning partial packets as for other demuxers is problematice due to
packet scrambling and thus is not done.
Originally committed as revision 25931 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Reimar Döffinger
3c3ef81b9b
Ensure that packets returned from ASF demuxer are properly 0-padded.
...
Originally committed as revision 25930 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefan Gehrer
77b7c334be
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
14 years ago
Anton Khirnov
ad7768f4c4
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
14 years ago
Anton Khirnov
03700d399b
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
14 years ago
Stefano Sabatini
b9f9e59afc
Replace deprecated CODEC_TYPE_AUDIO and CODEC_TYPE_VIDEO with the
...
corresponding AVMEDIA_TYPE_* symbols.
Originally committed as revision 25201 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Carl Eugen Hoyos
b7d56a17ae
Fix indentation after r25158.
...
Originally committed as revision 25160 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Richard Buteau
6ac6e3d123
Fix aspect ratio for files that have it stored in
...
ff_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
14 years ago
Martin Storsjö
d970ec7554
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
15 years ago
Martin Storsjö
fed7959271
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
15 years ago
Martin Storsjö
a3ab7c3249
asfdec: Handle asf_jfif_media
...
Originally committed as revision 24351 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
8fc0162ac4
Add av_ prefix to bswap macros
...
Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
3124766959
Ignore extradata & w/h in asf/dvr.
...
The w/h values are wrong and extradata contains a fake seq header that causes
decoding 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
15 years ago
Måns Rullgård
30cdfb49b4
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
15 years ago
Michael Niedermayer
1d4c1c3b7a
Continue after guids in asf after which other guids are possible instead of skiping
...
over the stored size.
Fixes issue2029
Originally committed as revision 23732 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
1ed87f800f
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
15 years ago
Michael Niedermayer
cb0061d453
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
15 years ago
Stefano Sabatini
2ef6c1242a
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
15 years ago
Jean-Daniel Dupas
cc947f04cc
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
15 years ago
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benoit Fouet
32e543f866
Replace @returns by @return .
...
Originally committed as revision 22729 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vladimir Pantelic
88b51ea948
Use ASF supports "markers" which are a name and a time stamp to create
...
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
15 years ago
Anton Khirnov
e4ea625ab0
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
15 years ago
Anton Khirnov
fce4448948
Read ASF metadata as proper UTF-16 and spit it out as proper UTF-8 in our
...
metadata system.
Patch by Anton Khirnov <wyskas gmail com>.
Originally committed as revision 22034 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benoit Fouet
6538c0f1c6
asfdec: skip byte array tags.
...
Patch from Anton Khirnov wyskas gmail
Originally committed as revision 22019 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benoit Fouet
27e7492771
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
15 years ago
Benoit Fouet
47794b9d3e
asfdec: fix a memleak.
...
Patch from Anton Khirnov wyskas gmail
Originally committed as revision 22017 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benoit Fouet
514b73cf0d
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
15 years ago
Anton Khirnov
4a3104a96a
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
15 years ago
Michael Niedermayer
134271c232
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
15 years ago
Michael Niedermayer
12ad66712a
Use AV_METADATA_DONT_STRDUP* / use av_malloced metadata instead of strduped
...
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
15 years ago
Daniel G. Taylor
febd1c90a6
Detect Windows Media DRM protected files and display warning if no key
...
was provided.
Patch by Daniel G. Taylor, dan programmer-art org
Originally committed as revision 20209 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Josh Harris
f2086fb50e
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
15 years ago
Ronald S. Bultje
2078ca16ee
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
16 years ago
Måns Rullgård
63613fe615
Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
...
Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
96f0731a26
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
16 years ago
Reimar Döffinger
b098b30905
Fix indentation
...
Originally committed as revision 19331 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago