Wolfram Gloger
a5a0dedf11
Fix duplicate packet init introduced by 7f9aaa4
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
76c3fff2f3
h264: Workaround invalid MPEG-TS broadcasts
...
Fixes seeking to the first keyframe
Fixes Ticket1029
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
9e5f79ed8a
avrndec: add DR1 capability flag
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b1acf5d7a6
AVRn: fix progressive
...
Fixes Ticket970
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
ba2cf854d0
lavc: move AVRn to a seperate decoder.
...
The special cases in demuxers and decoders are a mess otherwise (and more
would be needed to support it fully)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
c28d80f4c9
lavc: avcodec_get_name: return "none" for AV_CODEC_ID_NONE.
13 years ago
Mans Rullgard
4855022aa1
vorbisdec: remove some pointless comments
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
0de4918f32
rawdec: support AVRn 1:1 raw interlaced mode
...
Fixes Ticket971
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a21f65b55e
elbg: switch to av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
9018f8c328
elbg: fix assert
...
It seems the condition was flipped from what was intended
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Uoti Urpala
e70730045a
h264: vdpau: fix crash with unsupported colorspace
...
The h264_vdpau decoder crashed if output colorspace was not 8-bit 420.
Add a check to error out instead (current hardware does not support
other colorspaces, so successful decoding is not possible).
Check implemented at a different place by michael, thus blame for bugs goes to michael
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
11434c9b13
pthread: add const to AVCodec pointers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Nicolas George
9467f4eb5d
lavc/tscc: use reget_buffer.
...
The previous code would release the buffer and get it
immediately after, assuming the contents is the same.
13 years ago
Anton Khirnov
7f9aaa499b
mpegvideo_enc: don't use deprecated avcodec_encode_video().
13 years ago
Anton Khirnov
91e59fea30
lavc: add avcodec_descriptor_get_by_name().
13 years ago
Anton Khirnov
0a0f19b577
lavc: add const to AVCodec* function parameters.
13 years ago
Michael Niedermayer
b5abebe164
acelp_filters: switch to avassert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
ceb8773e16
libvpxenc: Fix CQ encoding without a specified bitrate
...
Also print a warning if neither quality nor bitrate is specified
and use the libvpx default bitrate in this case.
The idea of using the default bitrate is from Luca Barbato
Reviewed-by: James Zern <jzern@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
1ee7a2955f
libvpxenc: only force CBR if a bitrate is set
...
Reviewed-by: James Zern <jzern@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Uoti Urpala
2e8f3cbcda
h264: vdpau: fix crash with unsupported colorspace
...
The h264_vdpau decoder crashed if output colorspace was not 8-bit 420.
Add a check to error out instead (current hardware does not support
other colorspaces, so successful decoding is not possible).
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
ca00a7e809
amrwbdec: Decode the fr_quality bit properly
...
The way this bit is decoded was accidentally flipped in b70feb405
,
leading to warnings "Encountered a bad or corrupted frame" for each
decoded frame.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Luca Barbato
4aa3d7b3f2
libvpxenc: use the default bitrate if not set
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Jan Ekström
77f47e3288
utvideo: Rename utvideo.c to utvideodec.c
...
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
13 years ago
Michael Niedermayer
7e5a622525
escape124: Fix long == 64 assumtation.
...
Found-by: Nicolas
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3a1ca240d9
ccitt fax: fix some group3 1d files without EOL
...
Fixes Ticket832
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Luca Barbato
0f64cd1e81
mjpegdec: more meaningful return values
13 years ago
Michael Niedermayer
3d7817048c
escape124: fix integer overflow leading to excessive memory allocation
...
Fixes Ticket1629
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e71df841ee
fft-test: switch to new cpu flags API
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
bb46b9a36f
vc1dsp_mmx: remove libavutil/internal.h include
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
9bfeaf6f10
simple_idct_mmx: remove libavutil/internal.h include
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
64b23d7dec
x86/motion_est_mmx: remove libavutil/internal.h include
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
191ffc7fe7
x86/mlpdsp: remove libavutil/internal.h include
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
501b681d95
lpc_mmx: remove libavutil/internal.h include
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
7cb9f1a8d0
idct_sse2_xvid: remove libavutil/internal.h include
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
75cd9a62f4
libvpxenc: check for odd RC parameter combinations that could crash
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
d472453efd
libvpxenc: fix division by zero
...
Reported-by: thresh
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Martin Storsjö
7ebe3962f3
Add missing includes for code relying on external libraries
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
232e35de2e
Fix even more missing includes after the common.h removal
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Diego Biurrun
f704a079a1
build: Factor out rangecoder dependencies to CONFIG_RANGECODER
...
A new hidden config variable is added for the codecs that depend on
the rangecoder parts.
13 years ago
Diego Biurrun
c292f6a24d
build: Factor out error resilience dependencies to CONFIG_ERROR_RESILIENCE
...
A new hidden config variable is added for the codecs that depend on
the error resilience parts.
13 years ago
Diego Biurrun
6961bdface
x86: avcodec: Consistently name all init files
13 years ago
Martin Storsjö
33e112847d
Add more missing includes after removing the implicit common.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Philip Langdale
569027ea80
movtextdec: Don't emit errors for normal duration-end packets.
...
The logic here was off. If the packet size is exactly two, then
it's a well-formed empty subtitle, used to mark the end of the
duration of the previous subtitle.
Signed-off-by: Philip Langdale <philipl@overt.org>
13 years ago
Philip Langdale
6057de19b5
srtenc: Add timing-less "subrip" encoder.
...
Unsurprisingly, if a timing-less subrip decoder is desireable, an
encoder is as well. With this in place, we can move on to remove
the use of the old encoder/decoder with embedded timing and move
all timing handling the (de)muxer where they belong.
Signed-off-by: Philip Langdale <philipl@overt.org>
13 years ago
Philip Langdale
6af680fa07
srtdec: Add timing-less "subrip" decoder.
...
After various discussions, we concluded that, amongst other things,
it made sense to have a separate subrip decoder that did not use
in-band timing information, and rather relied on the ffmpeg level
timing.
As this is 90% the same as the existing srt decoder, it's implemented
in the same file.
Signed-off-by: Philip Langdale <philipl@overt.org>
13 years ago
Michael Niedermayer
f0896a6bd9
sp5xdec: fix off by 1 error causing a crash
...
Fixes Ticket1633
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
747774ece9
av_get_audio_frame_duration: fix ra144
...
Fixes Ticket1612
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
6ecf1eb0dd
snowdec: add 2 av_asserts to check run validity
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
4a596d19ff
snowdec: check log in get_symbol2()
...
Fixes Ticket1635
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Martin Storsjö
70766c2182
Add some more missing includes after removing the implicit common.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago