Diego Biurrun
c3b57d6e76
librtmp: Add "lib" prefix to librtmp URLProtocol declarations.
...
This allows easily differentiating between both implementations within the build
system and combining the native implementation for plain RTMP with librtmp for
the RTMPE, RTMPS, RTMPT, RTMPTE protocol variants.
13 years ago
Martin Storsjö
df6050188c
movenc: Use defines instead of hardcoded numbers for RTCP types
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Paul B Mahol
1c77a5307f
smjpegdec: implement seeking
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Diego Biurrun
9d03cb9fc5
swscale: Remove some write-only variables related to alpha handling.
13 years ago
Ronald S. Bultje
771bab7f57
swscale: fix crashes in yuv2yuvX on x86-32.
...
They were introduced in an earlier commit that introduced use of named
arguments. One cause was a typo, a second cause appears to be a bug in
x264asm that I work around by not using named arguments.
13 years ago
Aneesh Dogra
186dcbcb50
sunrast: Add fate test for gray8.
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Matthew Szatmary
7dfe8f5557
rtpdec: Use 4 byte startcodes for H.264
...
If muxing into mpegts, 4 byte startcodes for the first NAL
of an access unit is required. Thus it is simplest for the
RTP depacketizer to just use 4 byte startcodes everywhere.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Diego Biurrun
529506b5f6
matroskadec: Mark variable as av_unused.
...
This avoids unused variable warnings when zlib/bzlib are not available.
13 years ago
Diego Biurrun
6df5c528ca
Move some conditionally used variables into the block where they are used.
...
This allows dropping the av_unused argument from them.
13 years ago
Diego Biurrun
7331b6e718
Drop some completely unnecessary av_unused attributes.
13 years ago
Diego Biurrun
92fed11352
swscale: Remove unused variable alpMmxFilter.
13 years ago
Diego Biurrun
a8798c7eb9
Drop unnecessary av_uninit attributes from some variable declarations.
...
Recent versions of gcc (4.4+) no longer give false positive warnings.
13 years ago
Martin Storsjö
5d561514b7
movenc: Support muxing wmapro in ismv/isma
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
ddf422803b
mpegtsenc: Add an AVOption for forcing a new PAT/PMT/SDT to be written
...
When segmenting the output from the mpegts muxer, one can
now set this option when cutting to a new segment, to make sure
the next segment starts with PAT/PMT/SDT.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Ronald S. Bultje
3cac475655
swscale: move YUV2PACKED16WRAPPER() macro down to where it is used.
13 years ago
Ronald S. Bultje
c0b87359b2
swscale: handle gray16 as a "planar" YUV format (Y-only, of course).
...
This allows removing any gray16-specific code, which is essentially
identical to the per-plane code in yuv2plane*().
13 years ago
Ronald S. Bultje
9d9c846491
swscale: use yuv2packed1() functions for unscaled chroma also.
13 years ago
Ronald S. Bultje
d63b7d8c37
swscale: fix incorrect chroma bias in yuv2rgb48_1_c().
13 years ago
Ronald S. Bultje
1ca7dc60d2
swscale: fix invalid memory accesses in yuvpacked1() functions.
13 years ago
Diego Biurrun
0bf184e59c
Move PS2 MMI code below the mips subdirectory, where it belongs.
...
Also give a more suitable name to the MMI-optimized IDCT;
it is not PS2-specific, as the name currently suggests.
13 years ago
Diego Biurrun
75f11901b5
mips: Move MMI function declarations to a header.
...
This fixes compilation with -Werror=missing-prototypes.
13 years ago
Diego Biurrun
d1c4ec7f5e
build: Set correct dependencies for rtmp* protocols implemented by librtmp.
13 years ago
Ronald S. Bultje
3e23badd83
swscale: convert yuv2yuvX() to using named arguments.
13 years ago
Ronald S. Bultje
8c433d8a03
swscale: rename "dstw" to "w" to prevent name collisions.
...
"dstw" can collide with the word-version of the "dst" argument, causing
all kind of weird stuff down the pipe.
13 years ago
Ronald S. Bultje
ef66a0ed2e
swscale: use named registers in yuv2yuv1_plane() place.
...
Most of the function had been converted before, but I forgot this
particular location.
13 years ago
Andrey Utkin
e3cc617263
lavf: fix aspect ratio mismatch message.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Andrey Utkin
c22e2ec9d1
avconv: set AVFormatContext.duration from '-t'
...
Set output files duration to recording_time option, if given.
Rationale: to save duration into metadata for file that is written to
non-seekable output, for formats like FLV (with metadata at beginning).
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Anton Khirnov
3dffa1b46c
cljr: implement encode2.
13 years ago
Anton Khirnov
177bb4bf50
cljr: set the properties of the coded_frame, not input frame.
13 years ago
Anton Khirnov
89829242a6
dnxhdenc: switch to encode2.
13 years ago
Anton Khirnov
3f77c41171
bmpenc: switch to encode2().
13 years ago
Justin Ruggles
b498867d66
FATE: update reference for seek-alac_mp4
...
This should have been updated in b590f3a7bf
.
13 years ago
Aneesh Dogra
41afdd913a
sunrast: Return AVERROR values instead of -1.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Aneesh Dogra
4fbccfab23
sunrast: Add support for gray8 decoding.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Ronald S. Bultje
dae2ce361a
swscale: enforce a minimum filtersize.
...
At very small dimensions, this calculation could lead to zero-sized
filters, which leads to uninitialized output, zero-sized allocations,
loop overflows in SIMD that uses do{..}while(i++<filtersize); instead
of for(i=0;i<filtersize;i++){..} and several other similar failures.
Therefore, require a minimum filtersize of 1.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
13 years ago
Justin Ruggles
764852d653
alacenc: use AVCodec.encode2()
13 years ago
Justin Ruggles
bee80054f7
alacenc: cosmetics: indentation
13 years ago
Justin Ruggles
b6e8ff72ea
alacenc: consolidate bitstream writing into a single function.
...
Simplifies use of verbatim mode.
13 years ago
Justin Ruggles
b590f3a7bf
alacenc: only encode frame size in header for a final smaller frame
...
Otherwise it is not needed because it matches the frame size as encoded in
the extradata.
13 years ago
Justin Ruggles
ba821b098b
alacenc: store current frame size in AlacEncodeContext.
...
This avoids an indirection and will simplify implementation of encode2()
13 years ago
Justin Ruggles
65d15aec77
alacenc: return AVERROR codes in alac_encode_frame()
13 years ago
Justin Ruggles
302daf5800
alacenc: calculate a new max frame size for the final small frame
...
Gives a better estimate of buffer requirements and a better decision of
whether or not to use verbatim mode.
13 years ago
Justin Ruggles
fc9cf0b2a6
alacenc: pretty-printing and other cosmetics
13 years ago
Justin Ruggles
51c2483862
alacenc: fix error handling and potential memleaks in alac_encode_init()
13 years ago
Justin Ruggles
6e63228323
alacenc: do not set coded_frame->key_frame
...
It is already set in avcodec_alloc_frame()
13 years ago
Justin Ruggles
64fe3eaeb3
alacenc: do not set bits_per_coded_sample
...
encoded ALAC does not have a fixed number of bits per sample
13 years ago
Justin Ruggles
43a4cb070b
alacenc: remove unneeded frame_size check in alac_encode_frame()
13 years ago
Ronald S. Bultje
7416d61036
tta: error out if samplerate is zero.
...
Prevents a division by zero later on.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
13 years ago
Justin Ruggles
6ab681a4c1
ttadec: fix invalid free when an error occurs while decoding 24-bit tta
13 years ago
Justin Ruggles
9d7cee50aa
wavpack: add needed braces for 2 statements inside an if block
13 years ago