---
libavcodec/h264_slice.c | 10 +-
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c
index 8d79740..87d6582 100644
--- a/libavcodec/h264_slice.c
+++ b/libavcodec/h264_slice.c
@@ -286,8 +286,6 @@ static int
On Tue, Nov 22, 2016 at 10:10:09PM +0200, Martin Storsjö wrote:
> If makeopts_fate is set, these makeopts are used for running the
> tests instead of the normal makeopts. If it isn't set, the normal
> makeopts variable is used as before.
>
> This is useful if remote testing on a lesser machine
---
libavcodec/ac3enc_fixed.c| 58 ++--
libavcodec/ac3enc_float.c| 70 +++-
libavcodec/ac3enc_template.c | 9 --
3 files changed, 64 insertions(+), 73 deletions(-)
diff --git a/libavcodec/ac3enc_fixed.c
---
libavcodec/ac3enc_fixed.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/ac3enc_fixed.c b/libavcodec/ac3enc_fixed.c
index c1cf825..cb1c58d 100644
--- a/libavcodec/ac3enc_fixed.c
+++ b/libavcodec/ac3enc_fixed.c
@@ -104,7 +104,7 @@ static CoefType
---
libavcodec/ac3enc_fixed.c| 2 ++
libavcodec/ac3enc_float.c| 10 --
libavcodec/ac3enc_template.c | 4 +---
3 files changed, 3 insertions(+), 13 deletions(-)
diff --git a/libavcodec/ac3enc_fixed.c b/libavcodec/ac3enc_fixed.c
index 2bb82ef..c26f9c0 100644
---
On Mon, Nov 21, 2016 at 03:57:08PM +0100, Diego Biurrun wrote:
> ---
>
> Now with 'do {} while(0)' as suggested by Luca.
>
> libavformat/ape.c | 6 --
> 1 file changed, 4 insertions(+), 2 deletions(-)
Set OKed by Luca on IRC.
Diego
___
On 23/11/2016 05:10, James Almer wrote:
> To make av_stream_add_side_data return error codes consistent with
> av_packet_add_side_data's.
I'd go the other way round, but sure, staying consistent is good.
lu
___
libav-devel mailing list
On 11/23/2016 12:39 AM, Luca Barbato wrote:
> On 22/11/2016 23:16, Vittorio Giovara wrote:
>> -tmp = av_realloc_array(st->side_data, st->nb_side_data + 1,
>> sizeof(*tmp));
>> +if ((unsigned) st->nb_side_data + 1 >= INT_MAX / sizeof(*st->side_data))
>> +return AVERROR(ERANGE);
>>
On 22/11/2016 23:16, Vittorio Giovara wrote:
> -tmp = av_realloc_array(st->side_data, st->nb_side_data + 1,
> sizeof(*tmp));
> +if ((unsigned) st->nb_side_data + 1 >= INT_MAX / sizeof(*st->side_data))
> +return AVERROR(ERANGE);
> +
> +tmp = av_realloc(st->side_data,
On 22/11/2016 21:50, Vittorio Giovara wrote:
> From: James Almer
>
> Signed-off-by: James Almer
> Signed-off-by: Vittorio Giovara
> ---
> libavformat/matroska.c | 22 --
> 1 file changed, 8 insertions(+), 14
On 22/11/2016 21:10, Martin Storsjö wrote:
> If makeopts_fate is set, these makeopts are used for running the
> tests instead of the normal makeopts. If it isn't set, the normal
> makeopts variable is used as before.
>
> This is useful if remote testing on a lesser machine where a large
> number
On Tue, Nov 22, 2016 at 5:16 PM, Vittorio Giovara
wrote:
> From: Diego Biurrun
>
> ---
> doc/general.texi | 8
> 1 file changed, 8 insertions(+)
Never mind this email, sorry for the spam.
--
Vittorio
From: James Almer
Functionally similar to av_packet_add_side_data(). Allows the use of an
already allocated buffer as stream side data.
Signed-off-by: James Almer
Signed-off-by: Vittorio Giovara
---
Updated according to James'
From: Diego Biurrun
---
doc/general.texi | 8
1 file changed, 8 insertions(+)
diff --git a/doc/general.texi b/doc/general.texi
index 7b1f11c..d232300 100644
--- a/doc/general.texi
+++ b/doc/general.texi
@@ -95,6 +95,14 @@ Go to @url{http://www.wavpack.com/} and
On Tue, Nov 22, 2016 at 5:09 PM, James Almer wrote:
> On 11/22/2016 5:32 PM, Vittorio Giovara wrote:
>> On Tue, Nov 22, 2016 at 10:04 AM, James Almer wrote:
>>> On 11/21/2016 8:49 PM, Vittorio Giovara wrote:
From: James Almer
On 11/22/2016 5:32 PM, Vittorio Giovara wrote:
> On Tue, Nov 22, 2016 at 10:04 AM, James Almer wrote:
>> On 11/21/2016 8:49 PM, Vittorio Giovara wrote:
>>> From: James Almer
>>>
>>> Functionally similar to av_packet_add_side_data(). Allows the use of an
>>>
From: James Almer
Signed-off-by: James Almer
Signed-off-by: Vittorio Giovara
---
libavformat/matroska.c | 22 --
1 file changed, 8 insertions(+), 14 deletions(-)
diff --git a/libavformat/matroska.c
On Tue, Nov 22, 2016 at 10:04 AM, James Almer wrote:
> On 11/21/2016 8:49 PM, Vittorio Giovara wrote:
>> From: James Almer
>>
>> Functionally similar to av_packet_add_side_data(). Allows the use of an
>> already allocated buffer as stream side data.
>>
>>
If makeopts_fate is set, these makeopts are used for running the
tests instead of the normal makeopts. If it isn't set, the normal
makeopts variable is used as before.
This is useful if remote testing on a lesser machine where a large
number of parallel jobs might be undesireable, while wanting
On 2016-11-22 16:43:50 +0100, Diego Biurrun wrote:
> On Mon, Nov 21, 2016 at 12:31:24AM +0100, Janne Grunau wrote:
> > --- a/configure
> > +++ b/configure
> > @@ -348,9 +348,8 @@ Developer options (useful when working on Libav itself):
> > - --ignore-tests=TESTS whitespace-separated list
On Mon, Nov 21, 2016 at 10:46:45AM -0500, Vittorio Giovara wrote:
> On Mon, Nov 21, 2016 at 8:52 AM, Diego Biurrun wrote:
> > --- a/libavcodec/dvbsubdec.c
> > +++ b/libavcodec/dvbsubdec.c
> > @@ -32,8 +32,6 @@
> > #define DVBSUB_DISPLAYDEFINITION_SEGMENT 0x14
> > #define
On Tue, Nov 22, 2016 at 8:36 AM, Anton Khirnov wrote:
> The current code stores a pointer to the packet passed to the decoder,
> which is then used during get_buffer() for timestamps and side data
> passthrough. However, since this is a pointer to user data which we do
> not
On Tue, Nov 22, 2016 at 8:36 AM, Anton Khirnov wrote:
> +
> +int ff_alloc_packet(AVPacket *avpkt, int size)
> +{
> +if (size > INT_MAX - AV_INPUT_BUFFER_PADDING_SIZE)
> +return AVERROR(EINVAL);
> +
> +if (avpkt->data) {
> +AVBufferRef *buf = avpkt->buf;
On Tue, Nov 22, 2016 at 04:43:50PM +0100, Diego Biurrun wrote:
> On Mon, Nov 21, 2016 at 12:31:24AM +0100, Janne Grunau wrote:
> > --- a/tests/Makefile
> > +++ b/tests/Makefile
> > @@ -143,11 +143,17 @@ endif
> >
> > -fate: $(filter-out $(addprefix fate-,$(IGNORE_TESTS)),$(FATE))
> > +define
On Mon, Nov 21, 2016 at 12:31:24AM +0100, Janne Grunau wrote:
> --- a/configure
> +++ b/configure
> @@ -348,9 +348,8 @@ Developer options (useful when working on Libav itself):
> - --ignore-tests=TESTS whitespace-separated list (without "fate-" prefix
> - in the
On 22/11/2016 14:36, Anton Khirnov wrote:
> ---
> doc/bitstream_filters.texi | 3 +++
> libavcodec/Makefile| 1 +
> libavcodec/bitstream_filters.c | 1 +
> libavcodec/null_bsf.c | 44
> ++
> 4 files changed, 49 insertions(+)
>
On 22/11/2016 14:36, Anton Khirnov wrote:
> Drop the internal manual conversion from the MP4 format to Annex B.
> ---
> libavcodec/qsvdec_h2645.c | 74
> +++
> 1 file changed, 11 insertions(+), 63 deletions(-)
>
Looks good.
On 22/11/2016 14:36, Anton Khirnov wrote:
> Significantly increases the efficiency of frame threading, since
> individual frames in a superframe can now be decoded in parallel.
> ---
> configure| 2 +-
> libavcodec/vp9.c | 74
> ++--
>
On 22/11/2016 14:36, Anton Khirnov wrote:
> Currently, the new decoding API is pretty much just a wrapper around
> the old deprecated one. This is problematic, since it interferes with
> making full use of the flexibility added by the new API. The old API
> should also be removed at some future
On 11/21/2016 8:49 PM, Vittorio Giovara wrote:
> From: James Almer
>
> Functionally similar to av_packet_add_side_data(). Allows the use of an
> already allocated buffer as stream side data.
>
> Signed-off-by: James Almer
> Signed-off-by: Vittorio Giovara
On Tue, Nov 22, 2016 at 02:36:33PM +0100, Anton Khirnov wrote:
> ---
> libavcodec/Makefile | 1 +
> libavcodec/decode.c | 924
>
> libavcodec/utils.c | 889 --
> 3 files changed, 925
On Tue, Nov 22, 2016 at 02:36:32PM +0100, Anton Khirnov wrote:
> ---
> libavcodec/Makefile | 1 +
> libavcodec/encode.c | 360
>
> libavcodec/utils.c | 331 ---
> 3 files changed, 361
On Tue, Nov 22, 2016 at 02:36:37PM +0100, Anton Khirnov wrote:
> Drop the internal manual conversion from the MP4 format to Annex B.
> ---
> libavcodec/qsvdec_h2645.c | 74
> +++
> 1 file changed, 11 insertions(+), 63 deletions(-)
The libopenh264
On Tue, Nov 22, 2016 at 02:36:36PM +0100, Anton Khirnov wrote:
> --- a/libavcodec/avcodec.h
> +++ b/libavcodec/avcodec.h
> @@ -3235,6 +3235,12 @@ typedef struct AVCodec {
> * See FF_CODEC_CAP_* in internal.h
> */
> int caps_internal;
> +
> +/**
> + * Decoding only, a
On Tue, Nov 22, 2016 at 02:36:31PM +0100, Anton Khirnov wrote:
> ---
> doc/bitstream_filters.texi | 3 +++
> libavcodec/Makefile| 1 +
> libavcodec/bitstream_filters.c | 1 +
> libavcodec/null_bsf.c | 44
> ++
> 4 files changed,
Significantly increases the efficiency of frame threading, since
individual frames in a superframe can now be decoded in parallel.
---
configure| 2 +-
libavcodec/vp9.c | 74 ++--
2 files changed, 14 insertions(+), 62 deletions(-)
diff
---
doc/bitstream_filters.texi | 3 +++
libavcodec/Makefile| 1 +
libavcodec/bitstream_filters.c | 1 +
libavcodec/null_bsf.c | 44 ++
4 files changed, 49 insertions(+)
create mode 100644 libavcodec/null_bsf.c
diff --git
---
libavcodec/Makefile | 1 +
libavcodec/decode.c | 924
libavcodec/utils.c | 889 --
3 files changed, 925 insertions(+), 889 deletions(-)
create mode 100644 libavcodec/decode.c
diff --git
Drop the internal manual conversion from the MP4 format to Annex B.
---
libavcodec/qsvdec_h2645.c | 74 +++
1 file changed, 11 insertions(+), 63 deletions(-)
diff --git a/libavcodec/qsvdec_h2645.c b/libavcodec/qsvdec_h2645.c
index a26f150..8ac403b
---
configure | 1 +
libavcodec/avcodec.h | 6 ++
libavcodec/decode.c | 172 ++
libavcodec/internal.h | 8 +++
libavcodec/utils.c| 2 +
5 files changed, 177 insertions(+), 12 deletions(-)
diff --git a/configure
Partially based on code by Ronald S. Bultje .
---
doc/bitstream_filters.texi| 4 +
libavcodec/Makefile | 1 +
libavcodec/bitstream_filters.c| 1 +
libavcodec/vp9_superframe_split_bsf.c | 143 ++
4
Currently, the new decoding API is pretty much just a wrapper around the
old deprecated one. This is problematic, since it interferes with making
full use of the flexibility added by the new API. The old API should
also be removed at some future point.
Reorganize the code so that the new
The current code stores a pointer to the packet passed to the decoder,
which is then used during get_buffer() for timestamps and side data
passthrough. However, since this is a pointer to user data which we do
not own, storing it is potentially dangerous. It is also ill defined for
the new
---
libavcodec/Makefile | 1 +
libavcodec/encode.c | 360
libavcodec/utils.c | 331 ---
3 files changed, 361 insertions(+), 331 deletions(-)
create mode 100644 libavcodec/encode.c
diff --git
On 22/11/2016 00:54, Vittorio Giovara wrote:
> From: James Almer
>
> Signed-off-by: James Almer
> Signed-off-by: Vittorio Giovara
> ---
> libavformat/mov.c | 18 +-
> 1 file changed, 5 insertions(+), 13
On 22/11/2016 00:49, Vittorio Giovara wrote:
> From: James Almer
>
> Functionally similar to av_packet_add_side_data(). Allows the use of an
> already allocated buffer as stream side data.
>
> Signed-off-by: James Almer
> Signed-off-by: Vittorio Giovara
46 matches
Mail list logo