Peter Ross and Ronald S. Bultje
d34ca1cfe3
Add audio codec 0x1600 (ADTS AAC)
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-07 11:11:01 -05:00
Peter Ross and Ronald S. Bultje
2af07d36fc
avio: add avio_skip macro
...
This is a substitute for the url_fskip function that was deprecated by
commit 0300db8ad7 . avio_fskip is provided to
improve demuxer code readability. It distinguishes the act of skipping over
unknown or irrelevant bytes from the standard avio_seek operation.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-07 10:19:46 -05:00
Peter Ross and Ronald S. Bultje
e211e255aa
bink: prevent overflows within binkidct by using int-sized intermediate array
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-02-25 15:24:35 -05:00
Peter Ross and Ronald S. Bultje
588a3ffd96
bink: decode audio track identifiers into AVStream.id
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-02-25 15:24:35 -05:00
Peter Ross and Ronald S. Bultje
ccfcddb3f2
Bink version 'b' audio decoder
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-02-25 15:24:35 -05:00
Peter Ross and Ronald S. Bultje
8a8c283edd
binkaudio: simplify frame_len_bits and frame_len calculation
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-02-25 15:24:35 -05:00
Peter Ross and Ronald S. Bultje
a304def1dc
binkaudio: remove unnecessary loop
...
decode_init sets bands[0] == 2, so this loop always sets the band table
index (k) to zero.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-02-25 15:24:35 -05:00
Peter Ross and Ronald S. Bultje
582ac86d19
binkaudio: perform band table scaling in decode_init
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-02-25 15:24:35 -05:00
Peter Ross and Ronald S. Bultje
f0ca29eb5f
bink: set audio stream codec_tag such that binkaudio decoder can identify bitstream version
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-02-25 15:24:35 -05:00
Peter Ross and Mans Rullgard
71f88b1f38
binkaudio: remove unused copy of AVCodecContext*
...
Signed-off-by: Mans Rullgard <mans@mansr.com >
2011-02-15 14:20:19 +00:00
Peter Ross and Mans Rullgard
9806fbd535
binkaudio: fix channel count check
...
Perform validity check on AVFormatContext.channels instead of
uninitialised field.
This fixes issue 2001.
Signed-off-by: Mans Rullgard <mans@mansr.com >
2011-02-15 14:20:19 +00:00
Peter Ross and Ronald S. Bultje
1a973feb45
wtv: ignore empty data_guid chunks
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-02-13 16:49:39 -05:00
Peter Ross and Mans Rullgard
2315392174
bink: permute Bink version 'b' quant matrices by inverse scan order
...
This fixes visual glitches in Bink version 'b' files, as the quantization
tables were not being permuted.
Signed-off-by: Mans Rullgard <mans@mansr.com >
2011-02-13 13:39:07 +00:00
Peter Ross and Mans Rullgard
cb62510cab
bink: simplify how quantization matrices are passed to read_dct_coeffs()
...
Signed-off-by: Mans Rullgard <mans@mansr.com >
2011-02-13 12:34:01 +00:00
Peter Ross and Janne Grunau
adb1ad0d80
bink: reindent after last commit
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net >
2011-02-11 13:47:52 +01:00
Peter Ross and Janne Grunau
e00f41d574
Bink version 'b' video decoder
...
Based on original patch by Kostya Shishkov
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net >
2011-02-11 13:47:23 +01:00
Peter Ross and Janne Grunau
68137ba386
wtv: mark streams intended for hearing or visual impaired persons
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net >
2011-02-10 22:55:17 +01:00
Peter Ross and Janne Grunau
5209149157
make av_find_best_stream() ignore streams marked with AV_DISPOSITION_*_IMPAIRED
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net >
2011-02-10 22:55:17 +01:00
Peter Ross and Janne Grunau
12c14cd4a8
add AV_DISPOSITION_HEARING_IMPAIRED and AV_DISPOSITION_VISUAL_IMPAIRED
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net >
2011-02-10 22:55:17 +01:00
Peter Ross and Ronald S. Bultje
74571e333c
reindent after last commit
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-02-05 20:10:32 -05:00
Peter Ross and Ronald S. Bultje
e4f85b8499
wtv: do not use flag in stream_guid chunk to determine if stream is valid, as this method is unreliable
...
This fixes roundup issue 2556.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-02-05 20:09:56 -05:00
Peter Ross and Ronald S. Bultje
e6fb5a4f78
add ff_index_search_timestamp and ff_add_index_entry
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-02-03 21:50:54 -05:00
Peter Ross and Ronald S. Bultje
f61dee2fe4
wtv: filesystem implementation
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-02-03 20:55:42 -05:00
Peter Ross and Mans Rullgard
4d54df8e07
mpegtsenc: support CODEC_ID_AAC_LATM
...
$subject. Have used this for loopback testing with mpegts.c.
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
[2. text/x-diff; 0001-mpegtsenc-support-CODEC_ID_AAC_LATM.patch]
From 0f7f9db4b7da1793996af6dda84298507703759a Mon Sep 17 00:00:00 2001
From: Peter Ross <pross@xvid.org >
Date: Sun, 9 Jan 2011 09:45:50 +1100
Subject: [PATCH] mpegtsenc: support CODEC_ID_AAC_LATM
Signed-off-by: Mans Rullgard <mans@mansr.com >
2011-01-28 22:33:57 +00:00
Peter Ross
b070bcfe8a
wtv: ignore VIDEOINFOHEADER2 picture aspect ratio information, as it is unreliable
...
Originally committed as revision 26327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-14 08:28:27 +00:00
Peter Ross
1c4ac03530
electronicarts: prevent endless loop opportunity in process_audio_header_elements()
...
Fixes issue2529.
Originally committed as revision 26307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-11 02:25:12 +00:00
Peter Ross
74093bb593
revert r26302
...
Originally committed as revision 26305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-10 22:25:45 +00:00
Peter Ross
e19e051e56
electronicarts: prevent endless loop opportunity in process_audio_header_elements()
...
Fixes issue2529.
Originally committed as revision 26302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-10 12:56:50 +00:00
Peter Ross
42396c2e67
electronicarts: only apply audio sanity checks when audio stream is present
...
Originally committed as revision 26301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-10 12:51:45 +00:00
Peter Ross
091bc6ca8c
mmvideo: remove some conditional statements by limiting range of half_horiz and half_vert parameters to [0,1]
...
Originally committed as revision 26299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-10 12:16:33 +00:00
Peter Ross
56ddf4b378
add myself as the WTV maintainer
...
Originally committed as revision 26281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-09 08:43:44 +00:00
Peter Ross
cd426563f4
fix indentation
...
Originally committed as revision 26280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-09 08:30:23 +00:00
Peter Ross
5a477e5960
fix indentation
...
Originally committed as revision 26278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-09 02:44:54 +00:00
Peter Ross
866009ea19
wtv: only process timestamp_guid chunks for streams that we know about
...
Originally committed as revision 26277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-09 02:42:16 +00:00
Peter Ross
a5a36a7970
wtv: do not repopulate codec information after we have seen data chunks
...
Originally committed as revision 26276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-09 02:35:06 +00:00
Peter Ross
bf2e54174e
wtv: stop processing chunks if length is smaller than chunk header
...
Originally committed as revision 26275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-09 02:21:30 +00:00
Peter Ross
9372f31e03
wtv: fix typo
...
Originally committed as revision 26274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-09 02:13:58 +00:00
Peter Ross
50d83b2005
Add audio codec 0x1602 (AAC LATM)
...
Originally committed as revision 26273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-09 02:11:41 +00:00
Peter Ross
6780f48846
wtv: obtain codec information from stream2_guid chunks, if present
...
Originally committed as revision 26208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-04 11:38:29 +00:00
Peter Ross
17e33f662a
wtv: display warning if scrambled stream is detected
...
Originally committed as revision 26197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-02 11:17:34 +00:00
Peter Ross
773d892a31
move ff_get_bmp_header under CONFIG_DEMUXERS block
...
Originally committed as revision 26182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-01 03:24:10 +00:00
Peter Ross
3900707866
wtv: parse MPEG2 descriptor events
...
Originally committed as revision 26126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-29 13:41:10 +00:00
Peter Ross
cc9038e95c
add ff_parse_mpeg2_descriptor; make MPEG2 descriptor parsing routines available to other modules.
...
Originally committed as revision 26125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-29 12:45:31 +00:00
Peter Ross
0af1671e53
wtv: only warn about unknown subtype, if it actually unknown
...
Originally committed as revision 26123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-29 10:43:16 +00:00
Peter Ross
945df9703b
wtv: use correct names for subtitle and language guids
...
Originally committed as revision 26122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-29 03:49:02 +00:00
Peter Ross
a187c68678
Bump libavformat minor version, forgotten in r26094
...
Originally committed as revision 26095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-26 05:48:38 +00:00
Peter Ross
82ca054a63
Windows Televison (WTV) demuxer
...
Originally committed as revision 26094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-26 01:28:25 +00:00
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
2010-12-26 01:26:29 +00:00
Peter Ross
141de5a9c1
add ff_find_stream_index
...
Originally committed as revision 26092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-26 01:24:51 +00:00
Peter Ross
456a70aeb8
add ff_get_bmp_header
...
Originally committed as revision 26091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-26 01:23:44 +00:00
Peter Ross
e8ffb2fa4c
Add G.722 to RIFF codec list
...
Originally committed as revision 25837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-28 03:01:00 +00:00
Peter Ross
1e6f8d53fc
cafdec: Handle ALAC extradata.
...
This fixes roundup issue 2284.
Originally committed as revision 25430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-10 00:50:37 +00:00
Peter Ross
47a5fba773
Add myself as the caf* maintainer
...
Originally committed as revision 25429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-10 00:39:42 +00:00
Peter Ross
07e6384dd8
Add doxygen @file comment block
...
Originally committed as revision 24326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-19 11:50:07 +00:00
Peter Ross
4863bf0d16
Remove trailing linefeed
...
Originally committed as revision 24303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-18 08:15:45 +00:00
Peter Ross
1917a51809
Use correct doxygen syntax
...
Originally committed as revision 24302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-18 08:13:11 +00:00
Peter Ross
5a71709467
Tele-typewriter demuxer
...
Originally committed as revision 24301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-18 08:06:55 +00:00
Peter Ross
0459bf2d02
Add ff_sauce_read()
...
Originally committed as revision 24300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-18 08:05:04 +00:00
Peter Ross
beaa963cab
ASCII/ANSI art decoder
...
Originally committed as revision 24299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-18 08:03:35 +00:00
Peter Ross
7199c3a4e2
Add @file documentation tag
...
Originally committed as revision 24298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-18 07:52:47 +00:00
Peter Ross
3625999e15
8088flex TMV video decoder now uses ff_draw_pc_font()
...
Originally committed as revision 24297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-18 07:46:29 +00:00
Peter Ross
9e5f3dfe25
Add ff_draw_pc_font()
...
Originally committed as revision 24296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-18 07:44:38 +00:00
Peter Ross
ddf9dc453f
Add ff_vga16_font
...
Originally committed as revision 24295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-18 07:42:15 +00:00
Peter Ross
a5b588bcad
Use designated initialisers for pcm codec struct
...
Originally committed as revision 24264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-16 13:02:48 +00:00
Peter Ross
ea15d2000c
remove redundant text and whitespaces from iff demuxer av_log() statements
...
Originally committed as revision 24246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-15 11:43:09 +00:00
Peter Ross
53128bc371
Fix trivial punctuation error
...
Originally committed as revision 24182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 05:06:08 +00:00
Peter Ross
e10412a334
IFF PBM decoder: Add a pad byte if image width is odd <aleksi dot nurmi at gmail dot com>
...
Originally committed as revision 23701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-22 12:41:17 +00:00
Peter Ross
971c3c98b0
Add Pictor/PC Paint to image2 muxer/demuxer
...
Originally committed as revision 23533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-08 11:55:55 +00:00
Peter Ross
a526d6197a
Pictor/PC Paint decoder
...
Originally committed as revision 23532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-08 11:55:06 +00:00
Peter Ross
b995a6a84f
Add ff_ega_palette
...
Originally committed as revision 23530 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-08 11:42:21 +00:00
Peter Ross
0a624147c3
Prevent au_read_packet() looping endlessly when .au file contains unsupported codec type.
...
Originally committed as revision 23392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-31 10:47:36 +00:00
Peter Ross
21ae67900e
automatically enable buffer_filter when compiling ffmpeg
...
Fixes issue 1949
Originally committed as revision 23388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-30 12:19:26 +00:00
Peter Ross
70b462cc29
Prevent memory leak introduced in r22389 in Bink demuxer: pass partial packets to decoder.
...
Originally committed as revision 22468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-11 12:29:02 +00:00
Peter Ross
b41ec742ea
Make binkaudio work with ff_float_to_int16_interleave_c (martin at martin dot st)
...
Originally committed as revision 22466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-11 10:52:34 +00:00
Peter Ross
fb6a32c30f
Remove static function name prefixes from American Laser Games MM demuxer
...
Originally committed as revision 22390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-09 12:37:13 +00:00
Peter Ross
cc4e8b1267
Ensure Bink demuxer returns AVERROR code when av_get_packet() fails
...
Originally committed as revision 22389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-09 12:32:08 +00:00
Peter Ross
279a0c976e
Enable tcp_protocol when enabling http
...
Originally committed as revision 22388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-09 12:09:55 +00:00
Peter Ross
6c88dc3dbf
handle errors reported by av_get_packet() in Bink demuxer
...
Originally committed as revision 22208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-04 13:27:53 +00:00
Peter Ross
4ffa6e78c2
Guard against invalid memory read
...
Originally committed as revision 22207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-04 13:26:01 +00:00
Peter Ross
54063e37c1
Perform coefficient transformations in Bink Audio DCT decoder (issue1770)
...
Originally committed as revision 22167 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-03 09:51:56 +00:00
Peter Ross
a27998010c
Support demuxing of streamed Bink files
...
Originally committed as revision 22166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-03 09:44:30 +00:00
Peter Ross
f087881207
use intended const syntax
...
Originally committed as revision 22165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-03 09:38:09 +00:00
Peter Ross
be707647e9
Add myself as maintainer of the bink demuxer and bink audio decoder
...
Originally committed as revision 22075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-26 11:51:17 +00:00
Peter Ross
601e74d366
it is not necessary to display the decoder name, as av_log() automatically prints the context
...
Originally committed as revision 22023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-24 11:51:42 +00:00
Peter Ross
dd80be5bfc
low-complexity Bink file seeking
...
Originally committed as revision 22022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-24 11:43:33 +00:00
Peter Ross
7e276c85b1
set AVINDEX_KEYFRAME correctly for bink
...
Originally committed as revision 22021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-24 11:30:38 +00:00
Peter Ross
02cd6f5426
Set video stream duration for Bink demuxer
...
Originally committed as revision 21996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-23 11:15:18 +00:00
Peter Ross
b62c65f23e
Bink audio pts starts at 0, not reported_size
...
Originally committed as revision 21994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-23 11:01:51 +00:00
Peter Ross
c8c77d8d97
Use reported_size to truncate final Bink Audio frame
...
Originally committed as revision 21993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-23 10:28:11 +00:00
Peter Ross
899605f150
Support IFF ANNO (annotation) chunk type
...
Originally committed as revision 21847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-16 09:55:56 +00:00
Peter Ross
cbba8fec23
Support <8-bit ILBM uncompressed bitmaps
...
Originally committed as revision 21846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-16 09:33:59 +00:00
Peter Ross
005caa3486
IFF bitmap n-bit color support
...
Originally committed as revision 21831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-15 11:26:35 +00:00
Peter Ross
cbd3441eec
Make DeluxePaint Animation demuxer actually return the find_record() error code (issue 1739).
...
Originally committed as revision 21769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-12 11:31:35 +00:00
Peter Ross
451b353d87
Indentation cleanup
...
Originally committed as revision 21624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-03 09:58:14 +00:00
Peter Ross
02c4f626a8
Extend IFF demuxer to parse PBM/ILBM bitmap chunks
...
Originally committed as revision 21623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-03 09:57:21 +00:00
Peter Ross
b9e06dddb7
IFF PBM/ILBM bitmap decoder
...
Originally committed as revision 21622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-03 09:56:16 +00:00
Peter Ross
40da0b3691
Latent libavformat version bump for Bink demuxer (r21569)
...
Originally committed as revision 21571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-31 13:01:00 +00:00
Peter Ross
c0d3f516cb
Bink Audio decoder
...
Originally committed as revision 21570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-31 12:51:15 +00:00
Peter Ross
2e375df5b2
Bink demuxer
...
Originally committed as revision 21569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-31 12:35:09 +00:00
Peter Ross
6b807c15aa
Add v210x decoder long name
...
Originally committed as revision 21567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-31 12:06:33 +00:00