Ping
On Thu, Nov 19, 2020 at 9:42 AM Alan Kelly wrote:
> ---
> All of Henrik's suggestions have been implemented. Additionally,
> m3 and m6 are permuted in avx2 before storing to ensure bit by bit
> identical results in avx2.
> libswscale/x86/Makefile | 1 +
> libswscale/x86/swscale.c
Bug ID: 8989
This is is due to the following behavior in the current code:
1. The initial_prog_date_time gets set to the current local time
2. The existing playlist (.m3u8) file gets parsed and the segments present are
added to the variant stream
3. The new segment is created and added
4. The exi
Ping Steven, Andreas, Andriy and others,
I have pushed a patch with the sscanf check (
http://ffmpeg.org/pipermail/ffmpeg-devel/2020-December/273185.html) and
also verified that the build passes (
https://patchwork.ffmpeg.org/project/ffmpeg/patch/20201201101040.28338-1-vignesh.ravichandra...@gmail
On 9/29/2020 11:22 AM, James Almer wrote:
Prevents a NULL pointer dereference.
Signed-off-by: James Almer
---
libavcodec/cbs_av1.c | 4
1 file changed, 4 insertions(+)
diff --git a/libavcodec/cbs_av1.c b/libavcodec/cbs_av1.c
index c66757125f..aef8cf8e64 100644
--- a/libavcodec/cbs_av1.
On 11/15/2020 6:55 PM, James Almer wrote:
So unit parsing may be configured with caller set options.
Signed-off-by: James Almer
---
libavcodec/cbs.c | 9 +
libavcodec/cbs_internal.h | 6 ++
2 files changed, 15 insertions(+)
diff --git a/libavcodec/cbs.c b/libavcodec/cb
Ian, can you please take a look into it? And if it's fine to push it.
Thanks,
Mohammad
On Mon, Nov 23, 2020 at 1:29 PM Mohammad Izadi wrote:
> From: Mohammad Izadi
>
> HDR10+ is dynamic metadata (A/341 Amendment - SMPTE2094-40) that needs to
> be decoded from ITU-T T.35 in HEVC bitstream. The
On 9/29/2020 11:22 AM, James Almer wrote:
Missed in 0720e15c0330f0f101c02d5c2c6548e964079f6d. PS units are now guaranteed
to always be reference counter.
Signed-off-by: James Almer
---
libavcodec/cbs_h2645.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavcodec/cbs_h2645.c b/libavc
Use the stream timebase instead.
---
libavdevice/caca.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavdevice/caca.c b/libavdevice/caca.c
index be3ff79736..726cfda95f 100644
--- a/libavdevice/caca.c
+++ b/libavdevice/caca.c
@@ -180,7 +180,7 @@ static int caca_write_header
Factor out the code into a separate muxing-specific function.
Stop accessing the deprecated AVStream-embedded codec context, use the
average framerate (if specified) instead.
---
libavformat/mux.c| 49 ++--
tests/ref/fate/asf-repldata | 28 +--
tests/ref/fate/ffmpeg-
---
fftools/ffmpeg.c | 12 ++--
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 80f436eab3..b446d9b206 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -3568,12 +3568,6 @@ static int init_output_stream(OutputStream *ost, AVFra
---
libavformat/img2dec.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c
index a08d4f7977..ccb933ae33 100644
--- a/libavformat/img2dec.c
+++ b/libavformat/img2dec.c
@@ -220,8 +220,10 @@ int ff_img_read_header(AVFormatContext *s1
Same flags as MJPEG, as it's essentially the same thing.
---
libavcodec/codec_desc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
index 3b148883b8..fc5a5be46e 100644
--- a/libavcodec/codec_desc.c
+++ b/libavcodec/codec_desc.c
@@ -1512,6 +151
It fundamentally depends on deprecated lavf internals.
---
tests/api/Makefile | 1 -
tests/api/api-codec-param-test.c | 256 ---
tests/fate/api.mak | 8 -
3 files changed, 265 deletions(-)
delete mode 100644 tests/api/api-codec-param-tes
This will be useful in the following commit.
---
libavcodec/jpeglsdec.c| 2 +-
libavcodec/mjpegdec.c | 71 +--
libavcodec/mjpegdec.h | 8 ++--
libavcodec/sp5xdec.c | 28 ++
tests/ref/fate/exif-image-jpg | 4 +-
5 files
SMVJPEG stores frames as slices of a big JPEG image. The decoder is
implemented as a wrapper that instantiates a full internal MJPEG
decoder, then forwards the decoded frames with offset data pointers.
This is unnecessarily complex and fragile, not supporting useful decoder
capabilities like direct
This previously returned ENOMEM because the failure was detected during
av_hwdevice_ctx_alloc(), which is not helpful. Check earlier in order to
return the correct ENOSYS instead.
---
Before:
$ ./ffmpeg_g -init_hw_device vaapi=d0:/dev/dri/renderD128 -init_hw_device
dxva2=d1@d0
...
Device creati
On 12/1/2020 5:19 PM, Anton Khirnov wrote:
It fundamentally depends on deprecated lavf internals.
---
tests/api/Makefile | 1 -
tests/api/api-codec-param-test.c | 256 ---
tests/fate/api.mak | 8 -
Should also delete the two ref fil
On 12/1/2020 5:19 PM, Anton Khirnov wrote:
This will be useful in the following commit.
---
libavcodec/jpeglsdec.c| 2 +-
libavcodec/mjpegdec.c | 71 +--
libavcodec/mjpegdec.h | 8 ++--
libavcodec/sp5xdec.c | 28 ++---
Since 1.33 API version
https://github.com/Intel-Media-SDK/MediaSDK/blob/master/api/include/mfxstructures.h#L2088
Signed-off-by: Artem Galin
---
libavfilter/vf_scale_qsv.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/libavfilter/vf_scale_qsv.c b/libavfilter/vf_scale_qsv.
Explicitly set region of interest for input surfaces.
Signed-off-by: Artem Galin
---
libavfilter/vf_scale_qsv.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/libavfilter/vf_scale_qsv.c b/libavfilter/vf_scale_qsv.c
index 5064dcbb60..321adbbb18 100644
--- a/libavfilt
On Mon, 2020-11-30 at 13:49 +0800, wenbin.c...@intel.com wrote:
> From: Wenbinc-Bin
>
> The max_frame_size parameter is set only when codec is h264. Now I add
> hevc in that conditional statement.
>
> Signed-off-by: Wenbin CHEN
Please remove the spaces at the beginning of each line in
On Tue, 2020-12-01 at 22:40 +, Artem Galin wrote:
> Explicitly set region of interest for input surfaces.
>
> Signed-off-by: Artem Galin
> ---
> libavfilter/vf_scale_qsv.c | 9 ++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
>
> diff --git a/libavfilter/vf_scale_qsv.c b/libavfil
On Tue, 2020-12-01 at 22:42 +, Artem Galin wrote:
> Since 1.33 API version
>
https://github.com/Intel-Media-SDK/MediaSDK/blob/master/api/include/mfxstructures.h#L2088
>
> Signed-off-by: Artem Galin
> ---
> libavfilter/vf_scale_qsv.c | 17 +
> 1 file changed, 17 insertions(+)
From: Wenbinc-Bin
The max_frame_size parameter is set only when codec is h264. Now I add
hevc in that conditional statement.
Signed-off-by: Wenbin CHEN
---
libavcodec/qsvenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c
index 2b
Hi Mark & Zong,
Any suggestion on this?
thanks
On Thu, Nov 26, 2020 at 6:21 PM Xu Guangxin wrote:
> ---
> libavcodec/qsvdec_other.c | 188 --
> 1 file changed, 36 insertions(+), 152 deletions(-)
>
> diff --git a/libavcodec/qsvdec_other.c b/libavcodec/qsvdec_o
Signed-off-by: Andreas Rheinhardt
---
libavcodec/cpia.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/cpia.c b/libavcodec/cpia.c
index bf09e1a5db..5f12a99a83 100644
--- a/libavcodec/cpia.c
+++ b/libavcodec/cpia.c
@@ -230,4 +230,5 @@ AVCodec ff_cpia_decoder = {
.close
Signed-off-by: Andreas Rheinhardt
---
libavcodec/cook.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/cook.c b/libavcodec/cook.c
index 9582495442..93c51f5829 100644
--- a/libavcodec/cook.c
+++ b/libavcodec/cook.c
@@ -227,7 +227,7 @@ static av_cold int init_cook_ml
This decoder has the FF_CODEC_CAP_INIT_CLEANUP flag set.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/cook.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/libavcodec/cook.c b/libavcodec/cook.c
index 93c51f5829..f552a57415 100644
--- a/libavcodec/cook.c
+++ b/libavc
Signed-off-by: Andreas Rheinhardt
---
libavcodec/cook.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/libavcodec/cook.c b/libavcodec/cook.c
index f552a57415..60b6bd6c19 100644
--- a/libavcodec/cook.c
+++ b/libavcodec/cook.c
@@ -44,6 +44,7 @@
#include "libavutil/chan
Signed-off-by: Andreas Rheinhardt
---
libavcodec/cngenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/cngenc.c b/libavcodec/cngenc.c
index b622d7bbda..ddc44eb515 100644
--- a/libavcodec/cngenc.c
+++ b/libavcodec/cngenc.c
@@ -111,5 +111,5 @@ AVCodec ff_comfortnoi
Signed-off-by: Andreas Rheinhardt
---
libavcodec/v408enc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/v408enc.c b/libavcodec/v408enc.c
index d2d84d9c40..7ef26c7d3d 100644
--- a/libavcodec/v408enc.c
+++ b/libavcodec/v408enc.c
@@ -82,6 +82,7 @@ AVCodec ff_ayuv_encoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/avuienc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/avuienc.c b/libavcodec/avuienc.c
index 2091309e7e..45580183c2 100644
--- a/libavcodec/avuienc.c
+++ b/libavcodec/avuienc.c
@@ -100,4 +100,5 @@ AVCodec ff_avui_encoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/cinepakenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/cinepakenc.c b/libavcodec/cinepakenc.c
index cc125ed39e..9eaa972a9c 100644
--- a/libavcodec/cinepakenc.c
+++ b/libavcodec/cinepakenc.c
@@ -1189,5 +1189,5 @@
Signed-off-by: Andreas Rheinhardt
---
libavcodec/rawenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/rawenc.c b/libavcodec/rawenc.c
index d181b74570..425aae75c4 100644
--- a/libavcodec/rawenc.c
+++ b/libavcodec/rawenc.c
@@ -92,4 +92,5 @@ AVCodec ff_rawvideo_encoder = {
.i
Signed-off-by: Andreas Rheinhardt
---
libavcodec/cinepak.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/cinepak.c b/libavcodec/cinepak.c
index 9c5b254231..17148a3577 100644
--- a/libavcodec/cinepak.c
+++ b/libavcodec/cinepak.c
@@ -522,4 +522,5 @@ AVCodec ff_cinepak_decoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/utvideoenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/utvideoenc.c b/libavcodec/utvideoenc.c
index 5c87eb50ac..eea685f600 100644
--- a/libavcodec/utvideoenc.c
+++ b/libavcodec/utvideoenc.c
@@ -701,4 +701,5 @@ AVCodec ff_utvide
Signed-off-by: Andreas Rheinhardt
---
libavcodec/cdgraphics.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/cdgraphics.c b/libavcodec/cdgraphics.c
index 965f43684a..24e1771b9e 100644
--- a/libavcodec/cdgraphics.c
+++ b/libavcodec/cdgraphics.c
@@ -394,4 +394,5 @@ AVCodec ff_cdgrap
Signed-off-by: Andreas Rheinhardt
---
libavcodec/utvideoenc.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/libavcodec/utvideoenc.c b/libavcodec/utvideoenc.c
index eea685f600..5dbfed59a3 100644
--- a/libavcodec/utvideoenc.c
+++ b/libavcodec/utvideoenc.c
@@ -195,7 +195,6 @
Signed-off-by: Andreas Rheinhardt
---
libavcodec/bmpenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/bmpenc.c b/libavcodec/bmpenc.c
index e829d68475..13154c706c 100644
--- a/libavcodec/bmpenc.c
+++ b/libavcodec/bmpenc.c
@@ -177,4 +177,5 @@ AVCodec ff_bmp_encoder = {
A
Signed-off-by: Andreas Rheinhardt
---
libavcodec/v210enc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/v210enc.c b/libavcodec/v210enc.c
index 16e8810271..678affbe2a 100644
--- a/libavcodec/v210enc.c
+++ b/libavcodec/v210enc.c
@@ -166,4 +166,5 @@ AVCodec ff_v210_encoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/tiffenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c
index 6661e59d31..8e56f1b6ee 100644
--- a/libavcodec/tiffenc.c
+++ b/libavcodec/tiffenc.c
@@ -594,4 +594,5 @@ AVCodec ff_tiff_encoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/targaenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/targaenc.c b/libavcodec/targaenc.c
index 79030a012b..012409b48d 100644
--- a/libavcodec/targaenc.c
+++ b/libavcodec/targaenc.c
@@ -229,4 +229,5 @@ AVCodec ff_targa_encoder =
Signed-off-by: Andreas Rheinhardt
---
libavcodec/v410enc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/v410enc.c b/libavcodec/v410enc.c
index 5e2450279f..a4f91d77e3 100644
--- a/libavcodec/v410enc.c
+++ b/libavcodec/v410enc.c
@@ -88,4 +88,5 @@ AVCodec ff_v410_encoder = {
.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/v308enc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/v308enc.c b/libavcodec/v308enc.c
index 0891251dea..67b8dccbca 100644
--- a/libavcodec/v308enc.c
+++ b/libavcodec/v308enc.c
@@ -76,4 +76,5 @@ AVCodec ff_v308_encoder = {
.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/s302menc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/s302menc.c b/libavcodec/s302menc.c
index b04a54e482..1e1d639420 100644
--- a/libavcodec/s302menc.c
+++ b/libavcodec/s302menc.c
@@ -185,4 +185,5 @@ AVCodec ff_s302m_encoder =
Signed-off-by: Andreas Rheinhardt
---
libavcodec/alacenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/alacenc.c b/libavcodec/alacenc.c
index 9d135d1350..5decf8588c 100644
--- a/libavcodec/alacenc.c
+++ b/libavcodec/alacenc.c
@@ -672,4 +672,5 @@ AVCodec ff_alac_encoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/adxenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/adxenc.c b/libavcodec/adxenc.c
index 93b902b0e1..ce7a76d51b 100644
--- a/libavcodec/adxenc.c
+++ b/libavcodec/adxenc.c
@@ -198,4 +198,5 @@ AVCodec ff_adpcm_adx_encoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/arbc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/arbc.c b/libavcodec/arbc.c
index 06970f140b..20de41ab11 100644
--- a/libavcodec/arbc.c
+++ b/libavcodec/arbc.c
@@ -223,5 +223,5 @@ AVCodec ff_arbc_decoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/argo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/argo.c b/libavcodec/argo.c
index 6b4d449935..57becbd416 100644
--- a/libavcodec/argo.c
+++ b/libavcodec/argo.c
@@ -736,5 +736,5 @@ AVCodec ff_argo_decoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/bitpacked.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/bitpacked.c b/libavcodec/bitpacked.c
index 952ba73a32..be3cdef2ea 100644
--- a/libavcodec/bitpacked.c
+++ b/libavcodec/bitpacked.c
@@ -150,4 +150,5 @@ AVCodec ff_bitpacked_d
Signed-off-by: Andreas Rheinhardt
---
libavcodec/8svx.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/8svx.c b/libavcodec/8svx.c
index 092dbaae04..97a05037a1 100644
--- a/libavcodec/8svx.c
+++ b/libavcodec/8svx.c
@@ -196,6 +196,7 @@ AVCodec ff_eightsvx_fib_decoder = {
.capab
Signed-off-by: Andreas Rheinhardt
---
libavcodec/4xm.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c
index 336c651d31..00a8e0b1f3 100644
--- a/libavcodec/4xm.c
+++ b/libavcodec/4xm.c
@@ -30,6 +30,7 @@
#include "libavutil/frame.h"
Signed-off-by: Andreas Rheinhardt
---
libavcodec/idcinvideo.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/idcinvideo.c b/libavcodec/idcinvideo.c
index 6b2d8087ae..941a89d36d 100644
--- a/libavcodec/idcinvideo.c
+++ b/libavcodec/idcinvideo.c
@@ -258,4 +258,5 @@ AVCodec ff_idcin_
Signed-off-by: Andreas Rheinhardt
---
libavcodec/kgv1dec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/kgv1dec.c b/libavcodec/kgv1dec.c
index a6bd9400ac..1514f5d680 100644
--- a/libavcodec/kgv1dec.c
+++ b/libavcodec/kgv1dec.c
@@ -187,4 +187,5 @@ AVCodec ff_kgv1_decoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/targa_y216dec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/targa_y216dec.c b/libavcodec/targa_y216dec.c
index 443d48a92f..426b365e26 100644
--- a/libavcodec/targa_y216dec.c
+++ b/libavcodec/targa_y216dec.c
@@ -81,4 +81,5 @@ AVCo
Signed-off-by: Andreas Rheinhardt
---
libavcodec/truemotion1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/truemotion1.c b/libavcodec/truemotion1.c
index 94782fef4b..03ba916403 100644
--- a/libavcodec/truemotion1.c
+++ b/libavcodec/truemotion1.c
@@ -920,5 +920,5
Signed-off-by: Andreas Rheinhardt
---
libavcodec/bintext.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavcodec/bintext.c b/libavcodec/bintext.c
index 1aeed21f51..e30715368e 100644
--- a/libavcodec/bintext.c
+++ b/libavcodec/bintext.c
@@ -224,6 +224,7 @@ AVCodec ff_bintext_decoder =
Signed-off-by: Andreas Rheinhardt
---
libavcodec/ra288.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/ra288.c b/libavcodec/ra288.c
index 8df17891b1..a5a3478513 100644
--- a/libavcodec/ra288.c
+++ b/libavcodec/ra288.c
@@ -245,4 +245,5 @@ AVCodec ff_ra_288_decoder = {
.init
Signed-off-by: Andreas Rheinhardt
---
libavcodec/truespeech.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/truespeech.c b/libavcodec/truespeech.c
index 3cdae8c556..06f83d1657 100644
--- a/libavcodec/truespeech.c
+++ b/libavcodec/truespeech.c
@@ -362,4 +362,5 @@ AVCodec ff_truesp
Signed-off-by: Andreas Rheinhardt
---
libavcodec/adxdec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/adxdec.c b/libavcodec/adxdec.c
index 35b20c5cf4..70cb077545 100644
--- a/libavcodec/adxdec.c
+++ b/libavcodec/adxdec.c
@@ -203,4 +203,5 @@ AVCodec ff_adpcm_adx_decoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/vima.c | 24 +---
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/libavcodec/vima.c b/libavcodec/vima.c
index b4620acf6b..b0a2448ede 100644
--- a/libavcodec/vima.c
+++ b/libavcodec/vima.c
@@ -26,13 +26,13 @@
*/
Signed-off-by: Andreas Rheinhardt
---
libavcodec/vmdaudio.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/vmdaudio.c b/libavcodec/vmdaudio.c
index dfbd49fd84..4f9a827c36 100644
--- a/libavcodec/vmdaudio.c
+++ b/libavcodec/vmdaudio.c
@@ -237,4 +237,5 @@ AVCodec ff_vmdaudio_decoder
Signed-off-by: Andreas Rheinhardt
---
libavcodec/tta.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/tta.c b/libavcodec/tta.c
index e68e4fbb36..5c736779cf 100644
--- a/libavcodec/tta.c
+++ b/libavcodec/tta.c
@@ -425,4 +425,5 @@ AVCodec ff_tta_decoder = {
.decode = tt
Signed-off-by: Andreas Rheinhardt
---
libavcodec/bmvaudio.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/bmvaudio.c b/libavcodec/bmvaudio.c
index b1587ab366..0292b0be1e 100644
--- a/libavcodec/bmvaudio.c
+++ b/libavcodec/bmvaudio.c
@@ -86,4 +86,5 @@ AVCodec ff_bmv_audio_decoder
Signed-off-by: Andreas Rheinhardt
---
libavcodec/ttaenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/ttaenc.c b/libavcodec/ttaenc.c
index ac8a432873..239136cae6 100644
--- a/libavcodec/ttaenc.c
+++ b/libavcodec/ttaenc.c
@@ -214,4 +214,5 @@ AVCodec ff_tta_encoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/vb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/vb.c b/libavcodec/vb.c
index fe419c7663..278d772082 100644
--- a/libavcodec/vb.c
+++ b/libavcodec/vb.c
@@ -288,5 +288,5 @@ AVCodec ff_vb_decoder = {
.close
Signed-off-by: Andreas Rheinhardt
---
libavcodec/vqavideo.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/vqavideo.c b/libavcodec/vqavideo.c
index f45390cfe5..05f77fd1c8 100644
--- a/libavcodec/vqavideo.c
+++ b/libavcodec/vqavideo.c
@@ -653,4 +653,5 @@ AVCodec ff_vqa_decoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/vqavideo.c | 13 -
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/libavcodec/vqavideo.c b/libavcodec/vqavideo.c
index 05f77fd1c8..004e11ed7f 100644
--- a/libavcodec/vqavideo.c
+++ b/libavcodec/vqavideo.c
@@ -171,17 +171,1
Signed-off-by: Andreas Rheinhardt
---
libavcodec/vcr1.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/vcr1.c b/libavcodec/vcr1.c
index 28a5eec7d1..e19bac1ec7 100644
--- a/libavcodec/vcr1.c
+++ b/libavcodec/vcr1.c
@@ -130,4 +130,5 @@ AVCodec ff_vcr1_decoder = {
.init
Signed-off-by: Andreas Rheinhardt
---
libavcodec/v210dec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/v210dec.c b/libavcodec/v210dec.c
index 044d35338b..0dec8a9769 100644
--- a/libavcodec/v210dec.c
+++ b/libavcodec/v210dec.c
@@ -226,4 +226,5 @@ AVCodec ff_v210_decoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/v210x.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/v210x.c b/libavcodec/v210x.c
index f6a453aabf..70b2da55f6 100644
--- a/libavcodec/v210x.c
+++ b/libavcodec/v210x.c
@@ -128,4 +128,5 @@ AVCodec ff_v210x_decoder = {
.init
Signed-off-by: Andreas Rheinhardt
---
libavcodec/v308dec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/v308dec.c b/libavcodec/v308dec.c
index dd53fbded4..377665dbff 100644
--- a/libavcodec/v308dec.c
+++ b/libavcodec/v308dec.c
@@ -80,4 +80,5 @@ AVCodec ff_v308_decoder = {
.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/vmnc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/vmnc.c b/libavcodec/vmnc.c
index 7f441bc4bd..43f8c2aedb 100644
--- a/libavcodec/vmnc.c
+++ b/libavcodec/vmnc.c
@@ -582,4 +582,5 @@ AVCodec ff_vmnc_decoder = {
.close
Signed-off-by: Andreas Rheinhardt
---
libavcodec/tiertexseqv.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/tiertexseqv.c b/libavcodec/tiertexseqv.c
index 91c8314379..9610989a6f 100644
--- a/libavcodec/tiertexseqv.c
+++ b/libavcodec/tiertexseqv.c
@@ -271,4 +271,5 @@ AVCodec ff_t
Signed-off-by: Andreas Rheinhardt
---
libavcodec/v410dec.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavcodec/v410dec.c b/libavcodec/v410dec.c
index 7ad5eb8fb5..87c98f75ba 100644
--- a/libavcodec/v410dec.c
+++ b/libavcodec/v410dec.c
@@ -124,5 +124,6 @@ AVCodec ff_v41
Signed-off-by: Andreas Rheinhardt
---
libavcodec/takdec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/takdec.c b/libavcodec/takdec.c
index 9fa1cb1f7f..af491d96e7 100644
--- a/libavcodec/takdec.c
+++ b/libavcodec/takdec.c
@@ -952,4 +952,5 @@ AVCodec ff_tak_decoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/sanm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/sanm.c b/libavcodec/sanm.c
index debd0c..9c11600b76 100644
--- a/libavcodec/sanm.c
+++ b/libavcodec/sanm.c
@@ -1525,4 +1525,5 @@ AVCodec ff_sanm_decoder = {
.close
Signed-off-by: Andreas Rheinhardt
---
libavcodec/alac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/alac.c b/libavcodec/alac.c
index 9040673528..abcf032acc 100644
--- a/libavcodec/alac.c
+++ b/libavcodec/alac.c
@@ -626,6 +626,6 @@ AVCodec ff_alac_decoder = {
Signed-off-by: Andreas Rheinhardt
---
libavcodec/sanm.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/libavcodec/sanm.c b/libavcodec/sanm.c
index 9c11600b76..599ecc3737 100644
--- a/libavcodec/sanm.c
+++ b/libavcodec/sanm.c
@@ -470,10 +470,8 @@ static av_cold int init_
Signed-off-by: Andreas Rheinhardt
---
libavcodec/012v.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/012v.c b/libavcodec/012v.c
index b5a4066656..7231819875 100644
--- a/libavcodec/012v.c
+++ b/libavcodec/012v.c
@@ -152,4 +152,5 @@ AVCodec ff_zero12v_decoder = {
.init
Signed-off-by: Andreas Rheinhardt
---
libavcodec/binkaudio.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/binkaudio.c b/libavcodec/binkaudio.c
index 7b5965ede1..f25aea0d64 100644
--- a/libavcodec/binkaudio.c
+++ b/libavcodec/binkaudio.c
@@ -344,6 +344,7 @@ AVCodec ff_binkaudio
Signed-off-by: Andreas Rheinhardt
---
libavcodec/mpegaudioenc_fixed.c | 1 +
libavcodec/mpegaudioenc_float.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/libavcodec/mpegaudioenc_fixed.c b/libavcodec/mpegaudioenc_fixed.c
index 022b6fedd3..eec2ecb579 100644
--- a/libavcodec/mpegaudioenc_fi
Signed-off-by: Andreas Rheinhardt
---
libavcodec/qtrle.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/qtrle.c b/libavcodec/qtrle.c
index 6bdde75df4..2fce144c52 100644
--- a/libavcodec/qtrle.c
+++ b/libavcodec/qtrle.c
@@ -600,4 +600,5 @@ AVCodec ff_qtrle_decoder = {
.decode
Signed-off-by: Andreas Rheinhardt
---
libavcodec/binkaudio.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/libavcodec/binkaudio.c b/libavcodec/binkaudio.c
index f25aea0d64..2ee6f95f78 100644
--- a/libavcodec/binkaudio.c
+++ b/libavcodec/binkaudio.c
@@ -69,7 +69,7 @@
Signed-off-by: Andreas Rheinhardt
---
libavcodec/binkaudio.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/binkaudio.c b/libavcodec/binkaudio.c
index 2ee6f95f78..7d8cad1ec5 100644
--- a/libavcodec/binkaudio.c
+++ b/libavcodec/binkaudio.c
@@ -346,7 +346,7 @@ AV
Signed-off-by: Andreas Rheinhardt
---
libavcodec/wavpackenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/wavpackenc.c b/libavcodec/wavpackenc.c
index 0c85fbe374..ee9cd92c32 100644
--- a/libavcodec/wavpackenc.c
+++ b/libavcodec/wavpackenc.c
@@ -2973,4 +2973,5 @@ AVCodec ff_wavp
Signed-off-by: Andreas Rheinhardt
---
libavcodec/qtrleenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/qtrleenc.c b/libavcodec/qtrleenc.c
index 8b0edf7b3d..63d7bb33a9 100644
--- a/libavcodec/qtrleenc.c
+++ b/libavcodec/qtrleenc.c
@@ -413,5 +413,5 @@ AVCodec ff_
Signed-off-by: Andreas Rheinhardt
---
libavcodec/dca_lbr.c | 10 +-
libavcodec/dca_lbr.h | 1 +
libavcodec/dcadec.c | 14 +++---
libavcodec/dcahuff.c | 6 --
4 files changed, 13 insertions(+), 18 deletions(-)
diff --git a/libavcodec/dca_lbr.c b/libavcodec/dca_lbr.c
index 7
Signed-off-by: Andreas Rheinhardt
---
libavcodec/sonic.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/sonic.c b/libavcodec/sonic.c
index a285228bbc..d8254f3a2a 100644
--- a/libavcodec/sonic.c
+++ b/libavcodec/sonic.c
@@ -1097,7 +1097,7 @@ AVCodec ff_sonic_enc
Signed-off-by: Andreas Rheinhardt
---
libavcodec/sonic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/sonic.c b/libavcodec/sonic.c
index d8254f3a2a..4f75b2d985 100644
--- a/libavcodec/sonic.c
+++ b/libavcodec/sonic.c
@@ -1082,7 +1082,7 @@ AVCodec ff_sonic_decoder
Signed-off-by: Andreas Rheinhardt
---
libavcodec/assenc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavcodec/assenc.c b/libavcodec/assenc.c
index a6e1d5d8b9..f3ced556de 100644
--- a/libavcodec/assenc.c
+++ b/libavcodec/assenc.c
@@ -23,6 +23,7 @@
#include "avcodec.h"
#include "a
They all rely on ff_ass_split(), which does not have any static state.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/movtextenc.c | 2 +-
libavcodec/srtenc.c | 4
libavcodec/webvttenc.c | 2 ++
3 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/libavcodec/movtextenc.c b/l
Fixes potential heap-buffer-overflow.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/ass_split.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/ass_split.c b/libavcodec/ass_split.c
index c2c388d9f0..189272bbd9 100644
--- a/libavcodec/ass_split.c
+++ b/libavcodec
These pointers sometimes point to static storage (namely to
default_clut), so adding const to the pointed-to type is important to
ensure that one does not accidentally modify something that is not owned
by a single AVCodecContext.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/dvbsubdec.c | 8
Note: This decoder uses a static variable in save_display_set() (which
is only enabled if DEBUG is defined); yet said function can't be reached
from the decoder's init function at all, so it is no problem for
setting the FF_CODEC_CAP_INIT_THREADSAFE flag.
Signed-off-by: Andreas Rheinhardt
---
li
Signed-off-by: Andreas Rheinhardt
---
libavcodec/assdec.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavcodec/assdec.c b/libavcodec/assdec.c
index f0b1069cd2..78df1c30ad 100644
--- a/libavcodec/assdec.c
+++ b/libavcodec/assdec.c
@@ -23,6 +23,7 @@
#include "avcodec.h"
#include "a
ff_ass_subtitle_header_full() just uses av_asprintf() and is therefore
thread-safe itself.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/ccaption_dec.c | 2 ++
libavcodec/jacosubdec.c | 2 ++
libavcodec/microdvddec.c | 2 ++
libavcodec/movtextdec.c | 2 ++
libavcodec/mpl2dec.c | 2 +
Signed-off-by: Andreas Rheinhardt
---
libavcodec/kmvc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/kmvc.c b/libavcodec/kmvc.c
index ffe6a142e9..1d6260ae87 100644
--- a/libavcodec/kmvc.c
+++ b/libavcodec/kmvc.c
@@ -425,4 +425,5 @@ AVCodec ff_kmvc_decoder = {
.init
Signed-off-by: Andreas Rheinhardt
---
libavcodec/bink.c | 38 --
1 file changed, 20 insertions(+), 18 deletions(-)
diff --git a/libavcodec/bink.c b/libavcodec/bink.c
index ec164d0165..f1fa9c0071 100644
--- a/libavcodec/bink.c
+++ b/libavcodec/bink.c
@@ -23,6 +
The Bink video decoder uses VLCs; the longest codes of these VLCs have
different lengths, yet they are all so small that each VLC is read in
one go, so that the number of elements in the VLC table actually used by
each table is 1 << nb_bits, where nb_bits is the length of the longest
code. Yet when
1 - 100 of 114 matches
Mail list logo