They are usually created by tools and editors.
---
.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/.gitignore b/.gitignore
index 1a08fd15c5..693fa5636a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,3 +29,4 @@
/coverage.info
/lcov/
/mapfile
+.*/
--
2.12.2
From: James Almer
Removes unnecessary data copies, and partially fixes potential issues
with dangling references held in said lists.
Reviewed-by: Mark Thompson
Signed-off-by: James Almer
---
libavcodec/cbs_h264.h | 2 ++
libavcodec/cbs_h2645.c | 46
From: Haihao Xiang
Otherwise it will hit an assert in the function
ff_cbs_trace_syntax_element() in cbs.c, line 400.
Signed-off-by: Haihao Xiang
---
libavcodec/cbs_h264_syntax_template.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/cbs_h264_syntax_template.c
From: Mark Thompson
This makes the trace output for arrays significantly nicer.
---
libavcodec/cbs.c | 44 ++--
libavcodec/cbs_h2645.c | 83 ---
libavcodec/cbs_h264_syntax_template.c | 101 +--
From: James Almer
Reviewed-by: Mark Thompson
Signed-off-by: James Almer
---
libavcodec/cbs_mpeg2.c | 9 ++---
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/libavcodec/cbs_mpeg2.c b/libavcodec/cbs_mpeg2.c
index 8974bcabac..d65d84bd3d 100644
--- a/libavcodec/cbs_mpeg2.c
+++
From: Mark Thompson
The type of the result of a shift operation is unaffected by the type of
the right operand, so some existing code overflows with undefined behaviour
when the element length is 32. Add a helper macro to calculate the maximum
value correctly and then use it everywhere this
From: Mark Thompson
Apply the same logic as the previous patch to H.265. There are no cases
which currently overflow here, but this is still more consistent.
---
libavcodec/cbs_h265_syntax_template.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git
From: James Almer
Reviewed-by: Mark Thompson
Signed-off-by: James Almer
---
libavcodec/cbs_h2645.c | 18 --
1 file changed, 4 insertions(+), 14 deletions(-)
diff --git a/libavcodec/cbs_h2645.c b/libavcodec/cbs_h2645.c
index bf16343db5..8cd6db3fb4 100644
---
From: Mark Thompson
---
libavcodec/cbs_h2645.c| 5 +
libavcodec/cbs_h264_syntax_template.c | 30 ---
libavcodec/cbs_h265_syntax_template.c | 38 +++
3 files changed, 34 insertions(+), 39 deletions(-)
diff --git
From: James Almer
Reviewed-by: Mark Thompson
Signed-off-by: James Almer
---
libavcodec/cbs_mpeg2.c | 12 +++-
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/libavcodec/cbs_mpeg2.c b/libavcodec/cbs_mpeg2.c
index 7f484267fa..8974bcabac 100644
--- a/libavcodec/cbs_mpeg2.c
From: Mark Thompson
Make this clear in the documentation and add some asserts to ensure
that it is always true.
---
libavcodec/cbs.c | 19 ---
libavcodec/cbs.h | 10 ++
2 files changed, 18 insertions(+), 11 deletions(-)
diff --git a/libavcodec/cbs.c b/libavcodec/cbs.c
From: Mark Thompson
Use it as the set of codec IDs supported by the trace_headers BSF.
---
configure | 2 +-
libavcodec/cbs.c | 13 +
libavcodec/cbs.h | 8
libavcodec/trace_headers_bsf.c | 9 +
4 files changed, 23
From: James Almer
before:
419022 decicycles in assemble_fragment,2047 runs, 1 skips
after:
104621 decicycles in assemble_fragment,2045 runs, 3 skips
Benched with a 2 minutes long 720x480 DVD mpeg2 sample.
Reviewed-by: Michael Niedermayer
Signed-off-by: James Almer
---
They are usually created by tools and editors.
---
.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/.gitignore b/.gitignore
index 1a08fd15c5..693fa5636a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,3 +29,4 @@
/coverage.info
/lcov/
/mapfile
+.*/
--
2.12.2
From: Mark Thompson
The type of the result of a shift operation is unaffected by the type of
the right operand, so some existing code overflows with undefined behaviour
when the element length is 32. Add a helper macro to calculate the maximum
value correctly and then use it everywhere this
From: James Almer
This saves one malloc + memcpy per packet
The CodedBitstreamFragment buffer is padded to follow the requirements
of AVPacket.
Reviewed-by: jkqxz
Signed-off-by: James Almer
---
libavcodec/cbs.c | 12
libavcodec/cbs_h2645.c | 8 +---
Since I need the cbs for AV1 if I want to parse it (and make streamcopy
from ivf produce something sane) I picked up the other changes.
First batch of probably 3.
___
libav-devel mailing list
libav-devel@libav.org
17 matches
Mail list logo