libav.git
7 years agolavr: log channel conversion description for any-to-any functions
Justin Ruggles [Sat, 29 Dec 2012 19:22:55 +0000 (14:22 -0500)]
lavr: log channel conversion description for any-to-any functions

7 years agolavr: mix: reduce the mixing matrix when possible
Justin Ruggles [Fri, 28 Dec 2012 21:58:55 +0000 (16:58 -0500)]
lavr: mix: reduce the mixing matrix when possible

If the matrix results in an output channel not getting a contribution
from any input channel and the corresponding input channel does not
contribute to any outputs, we can skip the channel during mixing and
silence it after mixing.

If the matrix results in an input channel not contributing to any output
channels and it is not in the output mix, or if the input channel only
contributes fully to the same output channel, we can skip the channel
during mixing.

If the matrix results in an output channel only getting full
contribution from the corresponding input channel and that input channel
does not contribute to any other output channels, we can skip the
channel during mixing.

7 years agolavr: cosmetics: reindent
Justin Ruggles [Fri, 21 Dec 2012 21:31:26 +0000 (16:31 -0500)]
lavr: cosmetics: reindent

7 years agolavr: add a public function for setting a custom channel map
Justin Ruggles [Wed, 19 Dec 2012 19:58:57 +0000 (14:58 -0500)]
lavr: add a public function for setting a custom channel map

This allows reordering, duplication, and silencing of input channels.

7 years agolavr: typedef internal structs in internal.h
Justin Ruggles [Fri, 21 Dec 2012 21:26:51 +0000 (16:26 -0500)]
lavr: typedef internal structs in internal.h

Simplifies header dependencies by not including all other internal headers
in internal.h.

7 years agodoc: Extend commit message section
Derek Buitenhuis [Sun, 6 Jan 2013 18:33:13 +0000 (13:33 -0500)]
doc: Extend commit message section

If a bug exists on the tracker, its ID should always be included
in fix messages.

Also, any relevant bug fixes should be CC'd to libav-stable, so
we can actually track what needs to be backported, instead of
just randomly combing the git history and old CVEs.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
7 years agodoc: Mention memory allocation in the fuzz testing section
Derek Buitenhuis [Sun, 6 Jan 2013 18:25:07 +0000 (13:25 -0500)]
doc: Mention memory allocation in the fuzz testing section

It's obviously undesireable to blindly allocate memory based on
a damaged 'size' value, for example.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
7 years agodoc: Mention zzuf in the fuzz testing section
Derek Buitenhuis [Sun, 6 Jan 2013 18:24:06 +0000 (13:24 -0500)]
doc: Mention zzuf in the fuzz testing section

It's pretty much the best tool for the job, and it's what we
all use now anyway.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
7 years agodoc: Merge disjointed bits about emailing patches
Derek Buitenhuis [Sun, 6 Jan 2013 18:10:27 +0000 (13:10 -0500)]
doc: Merge disjointed bits about emailing patches

We obviously prefer git-send-email(1), and the disjointed nature
of the two statements was misleading.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
7 years agodoc: Fix a few typos in the developer documentation
Derek Buitenhuis [Sun, 6 Jan 2013 18:21:18 +0000 (13:21 -0500)]
doc: Fix a few typos in the developer documentation

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
7 years agoxwma: Remove unused variable
Benjamin Larsson [Sun, 16 Sep 2012 02:09:24 +0000 (04:09 +0200)]
xwma: Remove unused variable

Signed-off-by: Diego Biurrun <diego@biurrun.de>
7 years agoasfdec: Fix printf format string length modifier
Diego Biurrun [Mon, 31 Dec 2012 10:26:17 +0000 (11:26 +0100)]
asfdec: Fix printf format string length modifier

7 years agooggdec: make sure the private parse data is cleaned up
Luca Barbato [Fri, 4 Jan 2013 15:05:51 +0000 (16:05 +0100)]
oggdec: make sure the private parse data is cleaned up

7 years agooggdec: free the ogg streams on read_header failure
Luca Barbato [Fri, 4 Jan 2013 14:44:02 +0000 (15:44 +0100)]
oggdec: free the ogg streams on read_header failure

Plug an annoying memory leak on broken files.

7 years agoDrop Snow codec
Diego Biurrun [Mon, 24 Sep 2012 15:57:14 +0000 (17:57 +0200)]
Drop Snow codec

Snow is a toy codec with no real-world use and horrible code.

7 years agoPrepare for 10_alpha1 Release
Reinhard Tartler [Sun, 6 Jan 2013 15:23:12 +0000 (16:23 +0100)]
Prepare for 10_alpha1 Release

7 years agox86: sbrdsp: Implement SSE qmf_post_shuffle
Christophe Gisquet [Sun, 25 Nov 2012 06:55:28 +0000 (07:55 +0100)]
x86: sbrdsp: Implement SSE qmf_post_shuffle

255 to 174 cycles on Arrandale / Win64. Unrolling yields no gain.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
7 years agox86: sbrdsp: Implement SSE sum64x5
Christophe Gisquet [Sat, 24 Nov 2012 22:15:07 +0000 (23:15 +0100)]
x86: sbrdsp: Implement SSE sum64x5

698 to 174 cycles on Arrandale. Unrolling is a 6 cycles gain.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
7 years agox86: ABS1: port to cpuflags
Diego Biurrun [Sun, 15 Jul 2012 16:11:36 +0000 (18:11 +0200)]
x86: ABS1: port to cpuflags

7 years agov210x: cosmetics, reformat
Anton Khirnov [Sat, 17 Nov 2012 14:39:18 +0000 (15:39 +0100)]
v210x: cosmetics, reformat

7 years agov210x: return meaningful error codes.
Anton Khirnov [Sat, 17 Nov 2012 14:34:17 +0000 (15:34 +0100)]
v210x: return meaningful error codes.

7 years agor210dec: return meaningful error codes.
Anton Khirnov [Sat, 17 Nov 2012 14:31:35 +0000 (15:31 +0100)]
r210dec: return meaningful error codes.

7 years agovb: cosmetics, reformat
Anton Khirnov [Sat, 17 Nov 2012 14:20:42 +0000 (15:20 +0100)]
vb: cosmetics, reformat

7 years agovb: return meaningful error codes.
Anton Khirnov [Sat, 17 Nov 2012 14:17:34 +0000 (15:17 +0100)]
vb: return meaningful error codes.

7 years agoptx: return meaningful error codes.
Anton Khirnov [Sat, 17 Nov 2012 12:46:51 +0000 (13:46 +0100)]
ptx: return meaningful error codes.

7 years agotiff: return meaningful error codes.
Anton Khirnov [Sat, 17 Nov 2012 12:40:37 +0000 (13:40 +0100)]
tiff: return meaningful error codes.

7 years agovqavideo: return meaningful error codes.
Anton Khirnov [Sat, 17 Nov 2012 07:35:45 +0000 (08:35 +0100)]
vqavideo: return meaningful error codes.

7 years agomss2: return meaningful error codes.
Anton Khirnov [Sat, 17 Nov 2012 08:04:48 +0000 (09:04 +0100)]
mss2: return meaningful error codes.

7 years agov210dec: return meaningful error codes
Anton Khirnov [Sat, 17 Nov 2012 07:14:34 +0000 (08:14 +0100)]
v210dec: return meaningful error codes

7 years agoindeo2: cosmetics, reformat
Anton Khirnov [Sat, 17 Nov 2012 07:11:30 +0000 (08:11 +0100)]
indeo2: cosmetics, reformat

7 years agoindeo2: check decoding errors.
Anton Khirnov [Sat, 17 Nov 2012 07:08:40 +0000 (08:08 +0100)]
indeo2: check decoding errors.

7 years agoindeo2: return meaningful error codes
Anton Khirnov [Sat, 17 Nov 2012 07:06:19 +0000 (08:06 +0100)]
indeo2: return meaningful error codes

7 years agorl2: cosmetics, reformat
Anton Khirnov [Sat, 17 Nov 2012 06:45:05 +0000 (07:45 +0100)]
rl2: cosmetics, reformat

7 years agorl2: use fixed-width integer types where appropriate
Anton Khirnov [Sat, 17 Nov 2012 06:40:45 +0000 (07:40 +0100)]
rl2: use fixed-width integer types where appropriate

7 years agorl2: return meaningful error codes.
Anton Khirnov [Sat, 17 Nov 2012 06:37:08 +0000 (07:37 +0100)]
rl2: return meaningful error codes.

7 years agocljr: return a meaningful error code.
Anton Khirnov [Sat, 17 Nov 2012 06:32:09 +0000 (07:32 +0100)]
cljr: return a meaningful error code.

7 years agofraps: cosmetics, reformat
Anton Khirnov [Sat, 17 Nov 2012 06:06:01 +0000 (07:06 +0100)]
fraps: cosmetics, reformat

7 years agofraps: return meaningful error codes.
Anton Khirnov [Sat, 17 Nov 2012 05:57:27 +0000 (06:57 +0100)]
fraps: return meaningful error codes.

7 years agokgv1dec: return meaningful error codes.
Anton Khirnov [Fri, 16 Nov 2012 21:40:36 +0000 (22:40 +0100)]
kgv1dec: return meaningful error codes.

7 years agokmvc: return meaningful error codes.
Anton Khirnov [Fri, 16 Nov 2012 21:36:10 +0000 (22:36 +0100)]
kmvc: return meaningful error codes.

7 years agownv1: return meaningful error codes.
Anton Khirnov [Fri, 16 Nov 2012 17:35:31 +0000 (18:35 +0100)]
wnv1: return meaningful error codes.

7 years agodpx: return meaningful error codes.
Anton Khirnov [Fri, 16 Nov 2012 17:24:55 +0000 (18:24 +0100)]
dpx: return meaningful error codes.

7 years agotruemotion1: return meaningful error codes
Anton Khirnov [Fri, 16 Nov 2012 14:25:32 +0000 (15:25 +0100)]
truemotion1: return meaningful error codes

7 years agopnm: return meaningful error codes.
Anton Khirnov [Fri, 16 Nov 2012 10:45:34 +0000 (11:45 +0100)]
pnm: return meaningful error codes.

7 years agoxl: return a meaningful error code.
Anton Khirnov [Fri, 16 Nov 2012 10:32:09 +0000 (11:32 +0100)]
xl: return a meaningful error code.

7 years agoxan: return a meaningful error code.
Anton Khirnov [Fri, 16 Nov 2012 05:36:15 +0000 (06:36 +0100)]
xan: return a meaningful error code.

7 years agoxxan: return meaningful error codes.
Anton Khirnov [Fri, 16 Nov 2012 05:31:39 +0000 (06:31 +0100)]
xxan: return meaningful error codes.

7 years agozmbv: return more meaningful error codes.
Anton Khirnov [Thu, 15 Nov 2012 17:18:12 +0000 (18:18 +0100)]
zmbv: return more meaningful error codes.

7 years agoyop: use a meaningful error code.
Anton Khirnov [Thu, 15 Nov 2012 19:49:17 +0000 (20:49 +0100)]
yop: use a meaningful error code.

7 years agoc93: return meaningful error codes.
Anton Khirnov [Thu, 15 Nov 2012 09:29:28 +0000 (10:29 +0100)]
c93: return meaningful error codes.

7 years agobmv: return meaningful error codes.
Anton Khirnov [Thu, 15 Nov 2012 09:10:13 +0000 (10:10 +0100)]
bmv: return meaningful error codes.

7 years agobmp: return meaningful error codes.
Anton Khirnov [Thu, 15 Nov 2012 08:26:36 +0000 (09:26 +0100)]
bmp: return meaningful error codes.

7 years agobink: operate with pointers to AVFrames instead of whole structs.
Anton Khirnov [Wed, 14 Nov 2012 07:23:11 +0000 (08:23 +0100)]
bink: operate with pointers to AVFrames instead of whole structs.

This is more correct and avoids breaking extended_data.

7 years agobink: return meaningful error codes.
Anton Khirnov [Wed, 14 Nov 2012 20:47:37 +0000 (21:47 +0100)]
bink: return meaningful error codes.

7 years agobfi: return meaningful error codes.
Anton Khirnov [Wed, 14 Nov 2012 15:09:39 +0000 (16:09 +0100)]
bfi: return meaningful error codes.

7 years agobethsoftvideo: return meaningful error codes.
Anton Khirnov [Wed, 14 Nov 2012 15:09:39 +0000 (16:09 +0100)]
bethsoftvideo: return meaningful error codes.

7 years agoavs: return meaningful error codes.
Anton Khirnov [Wed, 14 Nov 2012 15:09:39 +0000 (16:09 +0100)]
avs: return meaningful error codes.

7 years agoaura: return meaningful error codes.
Anton Khirnov [Wed, 14 Nov 2012 14:11:23 +0000 (15:11 +0100)]
aura: return meaningful error codes.

7 years agoasvdec: return meaningful error codes.
Anton Khirnov [Wed, 14 Nov 2012 13:59:40 +0000 (14:59 +0100)]
asvdec: return meaningful error codes.

7 years agoansi: return a meaningful error code
Anton Khirnov [Wed, 14 Nov 2012 13:29:53 +0000 (14:29 +0100)]
ansi: return a meaningful error code

7 years agoanm: return meaningful error codes
Anton Khirnov [Wed, 14 Nov 2012 13:01:50 +0000 (14:01 +0100)]
anm: return meaningful error codes

7 years agoaasc: return meaningful error codes.
Anton Khirnov [Wed, 14 Nov 2012 08:11:07 +0000 (09:11 +0100)]
aasc: return meaningful error codes.

7 years ago8bps: return meaningful error codes.
Anton Khirnov [Wed, 14 Nov 2012 07:59:03 +0000 (08:59 +0100)]
8bps: return meaningful error codes.

7 years ago4xm: operate with pointers to AVFrames instead of whole structs.
Anton Khirnov [Wed, 14 Nov 2012 07:23:11 +0000 (08:23 +0100)]
4xm: operate with pointers to AVFrames instead of whole structs.

This is more correct and avoids breaking extended_data.

7 years ago4xm: eliminate a pointless indirection
Anton Khirnov [Wed, 14 Nov 2012 07:09:01 +0000 (08:09 +0100)]
4xm: eliminate a pointless indirection

7 years ago4xm: simplify code with FFSWAP
Anton Khirnov [Tue, 13 Nov 2012 20:57:13 +0000 (21:57 +0100)]
4xm: simplify code with FFSWAP

7 years ago4xm: return meaningful error codes
Anton Khirnov [Tue, 13 Nov 2012 20:49:42 +0000 (21:49 +0100)]
4xm: return meaningful error codes

7 years agox86: lavr: use the x86inc.asm automatic stack alignment in mixing functions
Justin Ruggles [Wed, 2 Jan 2013 18:34:48 +0000 (13:34 -0500)]
x86: lavr: use the x86inc.asm automatic stack alignment in mixing functions

CC:libav-stable@libav.org

7 years agoswscale: fix NULL checking in sws_alloc_context() v9
Xi Wang [Fri, 4 Jan 2013 21:15:33 +0000 (21:15 +0000)]
swscale: fix NULL checking in sws_alloc_context()

sws_getCachedContext() and sws_getContext() expect sws_alloc_context()
to return NULL when out of memory, as follows.

    if (!(context = sws_alloc_context()))
        return NULL;

This patch fixes sws_alloc_context() to return NULL in that case.

Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
7 years agomxfdec: fix NULL checking in mxf_get_sorted_table_segments()
Xi Wang [Fri, 4 Jan 2013 21:09:47 +0000 (21:09 +0000)]
mxfdec: fix NULL checking in mxf_get_sorted_table_segments()

The following out-of-memory check is broken.

    *sorted_segments  = av_mallocz(...);
    if (!sorted_segments) { ... }

The correct NULL check should use *sorted_segments.

Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
7 years agofinalize changelog for version 9
Reinhard Tartler [Fri, 4 Jan 2013 23:20:33 +0000 (00:20 +0100)]
finalize changelog for version 9

7 years agoPrepare for 9 Release.
Anton Khirnov [Fri, 4 Jan 2013 16:53:47 +0000 (17:53 +0100)]
Prepare for 9 Release.

7 years agoUpdate release notes for the 9 release.
Anton Khirnov [Thu, 3 Jan 2013 17:02:59 +0000 (18:02 +0100)]
Update release notes for the 9 release.

Add a paragraph about MSVC and mention 24-bit FLAC encoding.

7 years agoavprobe: also output dar/par if only defined in stream
Anton Khirnov [Thu, 3 Jan 2013 11:01:15 +0000 (12:01 +0100)]
avprobe: also output dar/par if only defined in stream

Based on a patch by Jan Gerber <j@v2v.cc>

7 years agolavr: fix missing " in header documentation
Peter Meerwald [Thu, 3 Jan 2013 13:17:29 +0000 (14:17 +0100)]
lavr: fix missing " in header documentation

Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agoaviobuf: Discard old buffered, previously read data in ffio_read_partial
Martin Storsjö [Tue, 1 Jan 2013 22:25:37 +0000 (00:25 +0200)]
aviobuf: Discard old buffered, previously read data in ffio_read_partial

This makes RTP custom IO work properly with pure read-only
AVIOContexts as well.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agortsp: Add support for depacketizing RTP data via custom IO
Martin Storsjö [Tue, 1 Jan 2013 21:41:29 +0000 (23:41 +0200)]
rtsp: Add support for depacketizing RTP data via custom IO

To use this, set sdpflags=custom_io to the sdp demuxer. During
the avformat_open_input call, the SDP is read from the AVFormatContext
AVIOContext (ctx->pb) - after the avformat_open_input call,
during the av_read_frame() calls, the same ctx->pb is used for reading
packets (and sending back RTCP RR packets).

Normally, one would use this with a read-only AVIOContext for the
SDP during the avformat_open_input call, then close that one and
replace it with a read-write one for the packets after the
avformat_open_input call has returned.

This allows using the RTP depacketizers as "pure" demuxers, without
having them tied to the libavformat network IO.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agortpdec: Move the URLContext used for RTCP RR out from the context, to a parameter
Martin Storsjö [Wed, 17 Oct 2012 13:05:24 +0000 (16:05 +0300)]
rtpdec: Move the URLContext used for RTCP RR out from the context, to a parameter

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agoaviobuf: Partial support for reading in read/write contexts
Martin Storsjö [Tue, 1 Jan 2013 20:57:36 +0000 (22:57 +0200)]
aviobuf: Partial support for reading in read/write contexts

So far, aviocontexts are used either in pure-read or pure-write
mode - full read/write mode doesn't work well (and implementing it
is a much larger, not totally trivial change).

This patch allows using avio_read and ffio_read_partial on
read/write aviocontexts, where the read operations are passed
through directly unbuffered, while writes are buffered as usual.

This is enough to support the operations needed by packet based
data transfer like in udp/rtp, where aviocontext is the only
public API for hooking up custom IO.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agobuild: Avoid detecting bogus components named 'x'
Clément Bœsch [Wed, 2 Jan 2013 05:05:55 +0000 (06:05 +0100)]
build: Avoid detecting bogus components named 'x'

The function find_things() in configure is confused by component
registration calls as part of multiline macros defining combined
component registration.  Coalesce those macros into one line to
work around the issue.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agocmdutils: update copyright year to 2013
Johan Andersson [Tue, 1 Jan 2013 17:56:55 +0000 (18:56 +0100)]
cmdutils: update copyright year to 2013

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agoh264: check SPS entries directly to detect pixel format changes
Janne Grunau [Sat, 29 Dec 2012 18:30:12 +0000 (19:30 +0100)]
h264: check SPS entries directly to detect pixel format changes

Comparing AVCodecContext.pix_fmt against the get_pixel_format() return
value has the side effect of calling the get_format() callback on each
slice. Users of the callback will probably handle hardware accelerator
initialization in the callback.

7 years agoforgotten changelogs for 9_beta2
Reinhard Tartler [Wed, 2 Jan 2013 19:16:39 +0000 (20:16 +0100)]
forgotten changelogs for 9_beta2

7 years agortmp: Add support for limelight authentication
Martin Storsjö [Sun, 30 Dec 2012 22:46:14 +0000 (00:46 +0200)]
rtmp: Add support for limelight authentication

Limelight is a not too uncommon CDN. The authentication scheme is
pretty similar to the adobe authentication, but is even closer to
normal http digest authentication (but not close enough to warrant
sharing code) than the adobe version.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agortmp: Add support for adobe authentication
Martin Storsjö [Sun, 30 Dec 2012 20:39:38 +0000 (22:39 +0200)]
rtmp: Add support for adobe authentication

This is mostly used to authenticate the client when publishing.
Tested with wowza and akamai.

Some but not all servers support resending a new connect invoke
within the same connection, so always reconnect for sending a new
connection attempt. This matches what other applications do as well.

The authentication scheme is structurally pretty similar to http
digest authentication, but uses base64 instead of hex strings.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agortmp: Add a function for writing AMF strings based on two substrings
Martin Storsjö [Sun, 30 Dec 2012 20:38:23 +0000 (22:38 +0200)]
rtmp: Add a function for writing AMF strings based on two substrings

This avoids having to concatenate them into one buffer before writing
them as AMF.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agortmp: Return a proper error code in handle_invoke_error
Martin Storsjö [Sun, 30 Dec 2012 16:53:35 +0000 (18:53 +0200)]
rtmp: Return a proper error code in handle_invoke_error

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agoconfigure: suppress -fPIC in msvc builds
Hendrik Leppkes [Tue, 30 Oct 2012 21:57:37 +0000 (22:57 +0100)]
configure: suppress -fPIC in msvc builds

MSVC doesn't understand the option, and emits a warning on every
call to cl.exe.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agoDrop unnecessary 'l' length modifier when printfing double values.
Diego Biurrun [Sun, 30 Dec 2012 23:29:36 +0000 (00:29 +0100)]
Drop unnecessary 'l' length modifier when printfing double values.

%f denotes a double argument and 'l' does nothing in this case
according to the C spec.

7 years agotruemotion2: Sanitize tm2_read_header()
Diego Biurrun [Sun, 23 Dec 2012 17:43:19 +0000 (18:43 +0100)]
truemotion2: Sanitize tm2_read_header()

Also give a variable a more sensible name.

7 years agoFATE: add cavs test
Anton Khirnov [Fri, 28 Dec 2012 05:20:01 +0000 (06:20 +0100)]
FATE: add cavs test

7 years agocavsdec: export picture type in the output frame
Anton Khirnov [Fri, 28 Dec 2012 05:19:12 +0000 (06:19 +0100)]
cavsdec: export picture type in the output frame

7 years agocavs: deMpegEncContextize
Anton Khirnov [Thu, 27 Dec 2012 16:12:10 +0000 (17:12 +0100)]
cavs: deMpegEncContextize

It does not use any of the mpegvideo infrastructure, just a few fields
from the context.

Fixes a segfault with the emu edge flag, since emu edge buffer is now
allocated as a part of the frame buffer allocation and cavs calls
ff_get_buffer() directly, it does not use mpegvideo buffer management.

Fixes a memleak of the last frame.

7 years agocavs: cosmetics, reformat top part
Anton Khirnov [Thu, 27 Dec 2012 13:16:25 +0000 (14:16 +0100)]
cavs: cosmetics, reformat top part

7 years agocavsdec: cosmetics, reformat
Anton Khirnov [Thu, 27 Dec 2012 12:57:56 +0000 (13:57 +0100)]
cavsdec: cosmetics, reformat

7 years agolibavcodec/utils: Add braces to shut up gcc warnings
Diego Biurrun [Fri, 28 Dec 2012 18:06:04 +0000 (19:06 +0100)]
libavcodec/utils: Add braces to shut up gcc warnings

libavcodec/utils.c:1050:5: warning: missing braces around initializer [-Wmissing-braces]
libavcodec/utils.c:1314:5: warning: missing braces around initializer [-Wmissing-braces]

7 years agosnow: use VideoDSPContext
Luca Barbato [Sat, 29 Dec 2012 17:05:49 +0000 (18:05 +0100)]
snow: use VideoDSPContext

It was left over from the initial conversion.

7 years agohlsenc: make segment number unsigned
Luca Barbato [Sat, 29 Dec 2012 11:31:01 +0000 (12:31 +0100)]
hlsenc: make segment number unsigned

It will overflow if somebody keeps streaming for a time long enough.

7 years agohlsenc: make EXT-X-MEDIA-SEQUENCE always increase
Kanglin [Sat, 29 Dec 2012 11:09:17 +0000 (12:09 +0100)]
hlsenc: make EXT-X-MEDIA-SEQUENCE always increase

7 years agohlsenc: do not add timestamps in different timebases
Luca Barbato [Sat, 29 Dec 2012 10:46:01 +0000 (11:46 +0100)]
hlsenc: do not add timestamps in different timebases

start_time is in stream timebase units while end_time is
in AV_TIME_BASE ones.