On Fri, Jul 10, 2015 at 8:12 PM, Luca Barbato wrote:
> On 10/07/15 19:46, Vittorio Giovara wrote:
>> This reverts commit 9286de045968ad456d4e752651eec22de5e89060.
>> The change broke support for legit absolute file paths.
>>
>> Reported-by: Maksym Veremeyenko .
>> ---
>> It looks like there are mo
On Fri, Jul 10, 2015 at 7:41 PM, Hendrik Leppkes wrote:
> On Fri, Jul 10, 2015 at 7:46 PM, Vittorio Giovara
> wrote:
>> This reverts commit 9286de045968ad456d4e752651eec22de5e89060.
>> The change broke support for legit absolute file paths.
>>
>> Reported-by: Maksym Veremeyenko .
>> ---
>> It loo
The upper halves are not guaranteed to be zero in x86-64.
Also use `test` instead of `and` when the result isn't used for anything other
than as a branch condition, this allows some register moves to be eliminated.
---
libavcodec/x86/bswapdsp.asm | 23 ++-
1 file changed, 10 i
---
tests/checkasm/Makefile | 1 +
tests/checkasm/bswapdsp.c | 73 +++
tests/checkasm/checkasm.c | 3 ++
tests/checkasm/checkasm.h | 1 +
4 files changed, 78 insertions(+)
create mode 100644 tests/checkasm/bswapdsp.c
diff --git a/tests/checkasm/Ma
---
As Anton suggested now x262 is a subfeature of x264
configure | 5 +++-
libavcodec/Makefile| 1 +
libavcodec/allcodecs.c | 1 +
libavcodec/libx264.c | 62 +++---
4 files changed, 60 insertions(+), 9 deletions(-)
diff --git a/
---
libavcodec/proresenc.c | 15 ---
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/libavcodec/proresenc.c b/libavcodec/proresenc.c
index 3a5524a..b71a7db 100644
--- a/libavcodec/proresenc.c
+++ b/libavcodec/proresenc.c
@@ -195,6 +195,7 @@ typedef struct ProresContext {
Allocating coded_frame is what most encoders do anyway, so it makes
sense to always allocate it in a single place. This bring uniformity to
encoder behaviour and prevents applications from erroneusly accessing
this field when not allocated.
Additionally this helps isolating encoders that export in
The rationale is that coded_frame was only used to communicate key_frame,
pict_type and quality to the caller, as well as a few other random fields,
in a non predictable, let alone consistent way.
There was agreement that there was no use case for coded_frame, as it is
a full-sized AVFrame contain
---
libavcodec/ffv1.h| 1 +
libavcodec/ffv1enc.c | 11 ++-
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/libavcodec/ffv1.h b/libavcodec/ffv1.h
index bc433bc..6e8c798 100644
--- a/libavcodec/ffv1.h
+++ b/libavcodec/ffv1.h
@@ -78,6 +78,7 @@ typedef struct FFV1Context {
This change (and the following ones of the same kind) is mainly to simplify
wrapping this section with an #if block later on.
No functional changes are applied, the context coded_frame fields are
initialized instead of keeping a reference to it.
Signed-off-by: Vittorio Giovara
---
libavcodec/a6
This is necessary to preserve the quality information currently exported
with coded_frame. Add the new side data to every encoder that needs it,
and use it in avconv.
Signed-off-by: Vittorio Giovara
---
avconv.c | 13 ++---
avconv.h | 3 +++
doc/APIch
---
libavcodec/ffv1enc.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c
index ad52f15..28289fb 100644
--- a/libavcodec/ffv1enc.c
+++ b/libavcodec/ffv1enc.c
@@ -863,12 +863,12 @@ static void encode_slice_header(FFV1Context *f,
This version of the set is just for review commodity, with all the amendment
requested (thanks Anton).
Vittorio
Vittorio Giovara (15):
mpegvideo_enc: Drop unnneded initialization
roqvideoenc: Drop unneeded initialization
a64multienc: Do not entangle coded_frame
proresenc: Do not entangle
---
libavcodec/libtheoraenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/libtheoraenc.c b/libavcodec/libtheoraenc.c
index 097336b..612a808 100644
--- a/libavcodec/libtheoraenc.c
+++ b/libavcodec/libtheoraenc.c
@@ -349,7 +349,7 @@ static int encode_frame(AVCodecC
---
libavcodec/qtrleenc.c | 22 ++
1 file changed, 14 insertions(+), 8 deletions(-)
diff --git a/libavcodec/qtrleenc.c b/libavcodec/qtrleenc.c
index 7c98bea..fe1fafc 100644
--- a/libavcodec/qtrleenc.c
+++ b/libavcodec/qtrleenc.c
@@ -57,6 +57,9 @@ typedef struct QtrleEncContext
---
libavcodec/svq1enc.c | 32 +---
libavcodec/svq1enc.h | 4
2 files changed, 21 insertions(+), 15 deletions(-)
diff --git a/libavcodec/svq1enc.c b/libavcodec/svq1enc.c
index 08d85b8..ffc9b42 100644
--- a/libavcodec/svq1enc.c
+++ b/libavcodec/svq1enc.c
@@ -238,1
---
libavcodec/libxvid.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/libavcodec/libxvid.c b/libavcodec/libxvid.c
index 97ff95b..0012876 100644
--- a/libavcodec/libxvid.c
+++ b/libavcodec/libxvid.c
@@ -663,7 +663,6 @@ static int xvid_encode_frame(AVCodecCo
---
libavcodec/flashsvenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/flashsvenc.c b/libavcodec/flashsvenc.c
index 971ce1b..1c87ae3 100644
--- a/libavcodec/flashsvenc.c
+++ b/libavcodec/flashsvenc.c
@@ -275,7 +275,7 @@ static int flashsv_encode_frame(AVCodecCon
Keep coded_frame.key_frame a write-only variable.
---
libavcodec/libvpxenc.c | 30 +++---
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c
index f690de1..e8c7327 100644
--- a/libavcodec/libvpxenc.c
+++ b/libavco
coded_frame is already initialized where needed.
---
libavcodec/mpegvideo_enc.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c
index f88e009..35c7839 100644
--- a/libavcodec/mpegvideo_enc.c
+++ b/libavcodec/mpegvideo_enc.c
@@ -722,8 +72
Its fields are never initialized to begin with.
---
libavcodec/roqvideoenc.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavcodec/roqvideoenc.c b/libavcodec/roqvideoenc.c
index 872bee8..32dabae 100644
--- a/libavcodec/roqvideoenc.c
+++ b/libavcodec/roqvideoenc.c
@@ -955,8 +955,6 @@ stat
Quoting James Almer (2015-07-15 19:26:08)
> On 15/07/15 2:06 PM, Anton Khirnov wrote:
> > Quoting James Almer (2015-07-15 18:26:28)
> >> On 14/07/15 7:36 AM, Luca Barbato wrote:
> >>> ---
> >>>
> >>> Properly rebased version
> >>>
> >>> libavcodec/hevc_ps.c | 258
> >>> ++-
On 15/07/15 19:26, James Almer wrote:
> Function call overhead. ff_hevc_decode_nal_pps() is not an init function, it
> may
> or may not be called for every decoded frame.
Actually the function is a tad big and will get bigger so probably won't
hurt leaving to the compiler the task to decide if in
On 15/07/15 2:06 PM, Anton Khirnov wrote:
> Quoting James Almer (2015-07-15 18:26:28)
>> On 14/07/15 7:36 AM, Luca Barbato wrote:
>>> ---
>>>
>>> Properly rebased version
>>>
>>> libavcodec/hevc_ps.c | 258
>>> ++-
>>> 1 file changed, 131 insertions
Quoting James Almer (2015-07-15 18:26:28)
> On 14/07/15 7:36 AM, Luca Barbato wrote:
> > ---
> >
> > Properly rebased version
> >
> > libavcodec/hevc_ps.c | 258
> > ++-
> > 1 file changed, 131 insertions(+), 127 deletions(-)
> >
> > diff --git a
On 15/07/15 1:46 PM, Luca Barbato wrote:
> On 15/07/15 18:26, James Almer wrote:
>> If this is done only for readability's sake and not because this function
>> will be
>> used somewhere else, then making sure the compiler always inlines this
>> function may
>> be a good idea.
>
> Good idea, the
On 15/07/15 18:26, James Almer wrote:
> If this is done only for readability's sake and not because this function
> will be
> used somewhere else, then making sure the compiler always inlines this
> function may
> be a good idea.
Good idea, the idea itself is fine?
lu
__
On 14/07/15 7:36 AM, Luca Barbato wrote:
> ---
>
> Properly rebased version
>
> libavcodec/hevc_ps.c | 258
> ++-
> 1 file changed, 131 insertions(+), 127 deletions(-)
>
> diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c
> index a5a2ace..
---
libavformat/asfdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index 34841e9..ab230e7 100644
--- a/libavformat/asfdec.c
+++ b/libavformat/asfdec.c
@@ -903,7 +903,7 @@ static int asf_read_data(AVFormatContext *s, const
GUIDP
if size is invalid seek to the Data or return error
---
libavformat/asfdec.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index 7af3728..34841e9 100644
--- a/libavformat/asfdec.c
+++ b/libavformat/asfdec.c
@@ -1660,7 +166
when !pb->seekable happens, while breaks after reading Data Object
header, just before first data packet and asf_read_packet is called
On Wed, Jul 15, 2015 at 11:34 AM, Luca Barbato wrote:
> On 15/07/15 09:48, Alexandra Hájková wrote:
>> ---
>> libavformat/asfdec.c | 27 +++--
On 14/07/15 12:36, Luca Barbato wrote:
> ---
>
> Properly rebased version
>
Ping.
___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel
On 15/07/15 09:48, Alexandra Hájková wrote:
> ---
> libavformat/asfdec.c | 27 +++
> 1 file changed, 15 insertions(+), 12 deletions(-)
What happens when you have non-seekable streams?
+/* Data are skipped for the first time, Index object is processed,
+ * EOF is r
---
libavformat/asfdec.c | 27 +++
1 file changed, 15 insertions(+), 12 deletions(-)
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index 7af3728..24dde87 100644
--- a/libavformat/asfdec.c
+++ b/libavformat/asfdec.c
@@ -1633,25 +1633,21 @@ static int asf_read_hea
34 matches
Mail list logo