[libav-devel] [PATCH] lagarith: Add correct line prediction for RGB

2011-11-15 Thread Nathan Caldwell
--- libavcodec/lagarith.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libavcodec/lagarith.c b/libavcodec/lagarith.c index 10cc71e..9200773 100644 --- a/libavcodec/lagarith.c +++ b/libavcodec/lagarith.c @@ -245,21 +245,21 @@ static void lag_pred_line(LagarithCo

[libav-devel] [PATCH 2/2] Add another special case to the Cinepak video decoder so that it can handle the following file:

2011-11-15 Thread mike
From: Mike Melanson http://samples.mplayerhq.hu/V-codecs/CVID/bad_cinepak_frame_size.mov This fix works around another work around which handles a different type of odd Cinepak data. Thanks to Matthew Hoops (clone2727 - gmail.com) for the sample and fix. --- libavcodec/cinepak.c |5 +++--

Re: [libav-devel] [PATCH 1/2] pthread: do not touch has_b_frames

2011-11-15 Thread Alexander Strange
On Nov 10, 2011, at 4:02 PM, Janne Grunau wrote: > this fixes fate-iv8-demux with two threads Seems worthwhile. I added this to avoid mplayer/vlc having to make code changes (their a/v sync is somewhat based on guesswork…), so if you apply this they'll need to change. > ---8<--- > Adding the

Re: [libav-devel] [PATCH] avcodec: move some AVCodecContext fields to an internal struct.

2011-11-15 Thread Måns Rullgård
Justin Ruggles writes: > A new field, AVCodecContext.internal is used to hold a new struct > AVCodecInternal, which has private fields that are not codec-specific and are > needed only by general libavcodec functions. > > Moved user_buffer, user_buffer_count, and is_copy. > --- > doc/APIchanges

[libav-devel] [PATCH] avcodec: move some AVCodecContext fields to an internal struct.

2011-11-15 Thread Justin Ruggles
A new field, AVCodecContext.internal is used to hold a new struct AVCodecInternal, which has private fields that are not codec-specific and are needed only by general libavcodec functions. Moved user_buffer, user_buffer_count, and is_copy. --- doc/APIchanges |8 + libavcodec/avcod

[libav-devel] [PATCH] avcodec: move some AVCodecContext fields to an internal struct.

2011-11-15 Thread Justin Ruggles
A new field, AVCodecContext.internal is used to hold a new struct AVCodecInternal, which has private fields that are not codec-specific and are needed only by general libavcodec functions. Moved user_buffer, user_buffer_count, and is_copy. --- doc/APIchanges |8 + libavcodec/avcod

Re: [libav-devel] [PATCH] lavf: fix multiplication overflow in avformat_find_stream_info()

2011-11-15 Thread Luca Barbato
On 11/15/11 11:34 PM, Mans Rullgard wrote: Converting to double before the multiplication rather than after avoids an integer overflow in some cases. Ok ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav

Re: [libav-devel] [PATCH] avcodec: move some AVCodecContext fields to an internal struct.

2011-11-15 Thread Måns Rullgård
Justin Ruggles writes: > A new field, AVCodecContext.internal_context is used to hold a new struct > AVCodecInternal, which has private fields that are not codec-specific and are > needed only by general libavcodec functions. > > Moved user_buffer, user_buffer_count, and is_copy. > --- > doc/API

[libav-devel] [PATCH] lavf: fix multiplication overflow in avformat_find_stream_info()

2011-11-15 Thread Mans Rullgard
Converting to double before the multiplication rather than after avoids an integer overflow in some cases. Signed-off-by: Mans Rullgard --- libavformat/utils.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 2dc7623..11cb4

[libav-devel] [PATCH] avcodec: move some AVCodecContext fields to an internal struct.

2011-11-15 Thread Justin Ruggles
A new field, AVCodecContext.internal_context is used to hold a new struct AVCodecInternal, which has private fields that are not codec-specific and are needed only by general libavcodec functions. Moved user_buffer, user_buffer_count, and is_copy. --- doc/APIchanges |8 + libavcod

Re: [libav-devel] [PATCH] configure: add check for w32threads to enable it automatically

2011-11-15 Thread Janne Grunau
On Tue, Nov 15, 2011 at 01:08:20PM +, Måns Rullgård wrote: > Janne Grunau writes: > > > @@ -2852,6 +2851,12 @@ check_struct dxva2api.h DXVA_PictureParameters > > wDecodedPictureIndex > > disabled zlib || check_lib zlib.h zlibVersion -lz || disable > > zlib > > disabled bzlib ||

Re: [libav-devel] [PATCH 2/3] tiff: Add GeoTIFF support to the TIFF decoder

2011-11-15 Thread Justin Ruggles
Hi Thomas, > +static int add_doubles_metadata(const uint8_t **buf, int count, > +const char *name, const char *sep, > +TiffContext *s) > +{ > +char *ap; > +int i; > +double *dp = av_malloc(count * type_sizes[TIFF_DOUBLE])

Re: [libav-devel] [PATCH] configure: add check for w32threads to enable it automatically

2011-11-15 Thread Måns Rullgård
Janne Grunau writes: > On Tue, Nov 08, 2011 at 02:28:27PM +, Måns Rullgård wrote: >> Janne Grunau writes: >> >> > @@ -2867,6 +2866,10 @@ if ! disabled pthreads && ! enabled w32threads; then >> > fi >> > fi >> > >> > +if ! enabled pthreads; then >> > +test $target_os = "mingw32" &&

Re: [libav-devel] [PATCH] configure: add check for w32threads to enable it automatically

2011-11-15 Thread Martin Storsjö
On Tue, 15 Nov 2011, Janne Grunau wrote: On Tue, Nov 08, 2011 at 02:28:27PM +, Måns Rullgård wrote: Janne Grunau writes: > @@ -2867,6 +2866,10 @@ if ! disabled pthreads && ! enabled w32threads; then > fi > fi > > +if ! enabled pthreads; then > +test $target_os = "mingw32" && en

[libav-devel] [PATCH] configure: add check for w32threads to enable it automatically

2011-11-15 Thread Janne Grunau
On Tue, Nov 08, 2011 at 02:28:27PM +, Måns Rullgård wrote: > Janne Grunau writes: > > > @@ -2867,6 +2866,10 @@ if ! disabled pthreads && ! enabled w32threads; then > > fi > > fi > > > > +if ! enabled pthreads; then > > +test $target_os = "mingw32" && enable_weak w32threads > > +fi >

Re: [libav-devel] [PATCH] ARM: add explicit .arch and .fpu directives to asm.S

2011-11-15 Thread Måns Rullgård
Luca Barbato writes: > On 11/15/11 4:01 AM, Måns Rullgård wrote: >> Luca Barbato writes: >> >>> On 11/15/11 2:54 AM, Mans Rullgard wrote: This prevents build errors when compiler and assembler default targets differ. Ideally each file would declare the highest level it requires.

Re: [libav-devel] [PATCH] hwaccel: Video Decoder Acceleration (VDA) support

2011-11-15 Thread Sebastien Zwickert
On Nov 15, 2011, at 12:50 AM, David Conrad wrote: > On Nov 5, 2011, at 8:05 AM, Sebastien Zwickert wrote: > >> >> On Nov 2, 2011, at 11:45 PM, Diego Biurrun wrote: >>> [...] --- /dev/null +++ b/libavcodec/vda.h @@ -0,0 +1,138 @@ + +#ifndef AVCODEC_VDA_H +#define AV

Re: [libav-devel] [PATCH] Fix seeking in wmv files that have no index

2011-11-15 Thread Luca Barbato
On 11/15/11 10:51 AM, Vladimir Pantelic wrote: Luca Barbato wrote: On 11/15/11 1:35 AM, John Stebbins wrote: On 11/14/2011 01:35 PM, John Stebbins wrote: On 11/14/2011 11:56 AM, Luca Barbato wrote: On 11/14/11 7:17 PM, John Stebbins wrote: On 11/14/2011 12:47 AM, Luca Barbato wrote: On 11/1

Re: [libav-devel] [PATCH] Fix seeking in wmv files that have no index

2011-11-15 Thread Vladimir Pantelic
Luca Barbato wrote: On 11/15/11 1:35 AM, John Stebbins wrote: On 11/14/2011 01:35 PM, John Stebbins wrote: On 11/14/2011 11:56 AM, Luca Barbato wrote: On 11/14/11 7:17 PM, John Stebbins wrote: On 11/14/2011 12:47 AM, Luca Barbato wrote: On 11/13/11 8:37 PM, John Stebbins wrote: I'm no