Diego Biurrun
3b78c180e4
id3v2: cosmetics: move some declarations before the places they are used
13 years ago
Justin Ruggles
617a51f9b7
shorten: remove the flush function.
...
The shorten decoder does not support seeking.
13 years ago
Justin Ruggles
e32dfdaa8d
shn: do not allow seeking in the raw shn demuxer.
...
The demuxer does not read the seektable, a parser is not possible without a
full decode, and no shorten decoder can handle random seeking because it needs
side info from the seektable.
13 years ago
Justin Ruggles
b631fba936
avformat: add AVInputFormat flag AVFMT_NO_BYTE_SEEK.
...
This will prevent seeking by bytes for formats that cannot handle this.
13 years ago
Justin Ruggles
050e20aee6
avformat: update AVInputFormat allowed flags
13 years ago
Justin Ruggles
0041cdba98
avformat: don't unconditionally call ff_read_frame_flush() when trying to seek.
...
This prevents flushing the packet buffer when the input format does not
support seeking.
13 years ago
Justin Ruggles
c6ac30c84b
truespeech: use sizeof() instead of hardcoded sizes
13 years ago
Justin Ruggles
6d55506c8b
truespeech: remove unneeded variable, 'consumed'
...
increment the 'buf' pointer instead, and consume the whole packet.
13 years ago
Justin Ruggles
b84048935e
truespeech: simplify truespeech_read_frame() by using get_bits()
13 years ago
Justin Ruggles
5e5ce70f19
truespeech: decode directly to output buffer instead of a temp buffer
13 years ago
Justin Ruggles
3e7a176759
truespeech: check to make sure channels == 1
13 years ago
Justin Ruggles
a8f8db2636
truespeech: check for large enough output buffer rather than truncating output
13 years ago
Justin Ruggles
595cf1a1aa
truespeech: remove unneeded zero-size packet check.
...
This is already checked in avcodec_decode_audio3()
13 years ago
Justin Ruggles
82be06bbb3
mlpdec: return meaningful error codes instead of -1
13 years ago
Justin Ruggles
e1b8d88d52
mlpdec: remove unnecessary wrapper function
13 years ago
Justin Ruggles
37b67f1bff
mlpdec: only calculate output size once
13 years ago
Justin Ruggles
caa845851d
mlpdec: validate that the reported channel count matches the actual output
...
channel count
13 years ago
Reimar Döffinger
e91230a589
Improve PVA probe function.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Mans Rullgard
b45eb9d619
pcm: reduce pointer type casting
...
Making 'samples' a pointer to uint8_t simplifies the DECODE
macro and reduces the amount of type casting overall.
This also fixes some signed overflows on left shift.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Nicolas George
c722c88eb6
libmodplug: remove mathematical constants now redundant.
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
7d60b43e90
vsrc_nullsrc: remove mathematical constants now redundant.
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
21e888bd11
vf_crop: remove mathematical constants now redundant.
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
94b345855f
vf_settb: remove mathematical constants now redundant.
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
db820c3c13
vf_setpts: remove mathematical constants now redundant.
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
1a3fa3ab2c
vf_select: remove mathematical constants now redundant.
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
3b316f9f22
vf_scale: remove mathematical constants now redundant.
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
e2abe90ed7
vf_pad: remove mathematical constants now redundant.
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
8c88d734a5
vf_overlay: remove mathematical constants now redundant.
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
157ff97e3b
vf_lut: remove mathematical constants now redundant.
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
a2af901295
vf_drawtext: remove mathematical constants now redundant.
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
072a62b50a
Merge remote-tracking branch 'hexene/stagefright'
...
* hexene/stagefright:
tools/build_libstagefright: fetch android system headers and libraries
libstagefright: reindent after previous commit
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
40963ea9e9
eval: add mathematical constants (PI, E, PHI).
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mohamed Naufal
4d518f1230
g723.1: use raw muxer
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
f59bb3d8f3
mathops: remove undefined behaviour from sign_extend()
...
This function intentionally overflows the signed range on
the left shift. Using this type-punning avoids errors from
the overflow checker without disabling this test globally.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Kostya Shishkov
42feaf4070
vc1: explicitly zero interlaced mode coding variables for progressive mode
...
Both v->fcm and v->field_mode are used in common code, now they won't be
reset for progressive frame after interlaced one causing writing past the
frame end for example.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Luca Barbato
13c9958751
segment: extend options
...
let set an alternate path for the segment files.
13 years ago
Michael Niedermayer
f884ef00de
Merge remote-tracking branch 'qatar/master'
...
* qatar/master: (31 commits)
tiffenc: initialize forgotten avctx.
avplay: free the active audio packet at exit.
avplay: free rdft data used for spectrogram analysis.
log.h: make AVClass a named struct
fix ac3 encoder documentation
vc1: more prettyprinting cosmetics
vc1: prettyprint some tables
vc1: K&R formatting cosmetics
AVOptions: bump minor and add APIchanges entry.
cmdutils/avtools: simplify show_help() by using av_opt_child_class_next()
AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*
Remove all uses of deprecated AVOptions API.
AVOptions: add av_opt_next, deprecate av_next_option.
AVOptions: add functions for evaluating option strings.
AVOptions: split get_number().
AVOptions: add av_opt_get*, deprecate av_get*.
AVOptions: add av_opt_set*().
AVOptions: add new API for enumerating children.
rv34: move inverse transform functions to DSP context
flvenc: Write the right metadata entry count
...
Conflicts:
avconv.c
cmdutils.c
doc/APIchanges
ffplay.c
ffprobe.c
libavcodec/ac3dec.c
libavcodec/h264.c
libavcodec/libvpxenc.c
libavcodec/libx264.c
libavcodec/mpeg12enc.c
libavcodec/options.c
libavdevice/libdc1394.c
libavdevice/v4l2.c
libavfilter/vf_drawtext.c
libavformat/flvdec.c
libavformat/mpegtsenc.c
libavformat/options.c
libavutil/avutil.h
libavutil/opt.c
libswscale/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
John Brooks
c1847c932b
Correct buffer handling for RTCP packets
...
Previous code could read 4 bytes past the end of the buffer on a RTCP_SR
packet or offset a pointer by an unchecked external value (payload_len),
though neither will reliably cause a crash or other misbehavior beyond
garbage timestamps.
Additionally, unknown RTCP packet types, even in compounded packets, are
now ignored as per RFC 3550 section 6.1, page 22, though currently this
only has any practical effect if a sender puts an unrecognized type
before RTCP_BYE in a compounded packet, or (incorrectly) does not put
RTCP_SR first.
Signed-off-by: John Brooks <john.brooks@bluecherry.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Jean First
47a1d794db
tiffenc: initialize forgotten avctx.
13 years ago
Justin Ruggles
c74f1f47b2
avplay: free the active audio packet at exit.
...
fixes a memleak
13 years ago
Justin Ruggles
cb2c4de3a1
avplay: free rdft data used for spectrogram analysis.
...
fixes a memleak
13 years ago
Jindrich Makovicka
67bbf07fb5
log.h: make AVClass a named struct
...
'struct AVClass' is used in the code since
641c7afe3c
, but AVClass is typedeffed as
an anonymous struct.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Michael Niedermayer
dc66951bb2
proresdsp: fix rounding
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
67dad8e7b1
proresdsp: Correct credits to point to the Author and not just the code this is based on.
...
Also change Libav to FFmpeg
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
96b0ddeeaa
dct-test: Test ff_prores_idct_put_10_sse2()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
dfeeb85b65
dct-test: add transpose permutation support
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
370d7ef2c7
proresdsp: Optimize series of padds out
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
6398c0f7e1
proresdsp.asm: Remove useless instructions.
13 years ago
Justin Ruggles
3e68b28221
fix ac3 encoder documentation
...
some of the mode values were reversed
13 years ago
Elvis Presley
bebaf4ea1f
prores: change license to LGPL, merge some parts.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago