Re: [FFmpeg-devel] [PATCH 48/48] fftools/ffmpeg: use av_packet_alloc() to allocate packets

2021-03-05 Thread Jack Waller
On Sat, Mar 6, 2021 at 12:44 AM James Almer wrote: > Signed-off-by: James Almer > --- > fftools/ffmpeg.c | 318 +++ > fftools/ffmpeg.h | 4 + > fftools/ffmpeg_opt.c | 5 +- > 3 files changed, 177 insertions(+), 150 deletions(-) > > diff --git

[FFmpeg-devel] [PATCH 2/2] avcodec/mmaldec: Return early upon failure

2021-03-05 Thread Andreas Rheinhardt
This avoids freeing a NULL AVBufferRef*. Signed-off-by: Andreas Rheinhardt --- libavcodec/mmaldec.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/libavcodec/mmaldec.c b/libavcodec/mmaldec.c index 7486f3c526..0ea07ea787 100644 --- a/libavcodec/mmaldec.c +++ b/lib

[FFmpeg-devel] [PATCH 1/2] avcodec/mmaldec: Stop needlessly wrapping extradata in AVPacket

2021-03-05 Thread Andreas Rheinhardt
Up until now the function to add packets to the waiting buffers list uses an AVPacket as parameter; therefore extradata that is also sent once gets wrapped in an AVPacket. Yet this is unnecessary as the function does not really need a complete AVPacket, but mostly the data. Therefore this commit mo

Re: [FFmpeg-devel] [PATCH v7 0/5] Initial implementation of TTML encoding/muxing

2021-03-05 Thread Jan Ekström
On Thu, Mar 4, 2021 at 7:48 PM Jan Ekström wrote: > > I've intentionally kept this initial version simple (no styling etc) to focus > on the basics. As this goes through review, additional features can be added > (I had initial PoC for styling implemented some time around previous VDD), and > ther

[FFmpeg-devel] [PATCH 48/48] fftools/ffmpeg: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- fftools/ffmpeg.c | 318 +++ fftools/ffmpeg.h | 4 + fftools/ffmpeg_opt.c | 5 +- 3 files changed, 177 insertions(+), 150 deletions(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 2abbc0ff29..46bb014de8 1

[FFmpeg-devel] [PATCH 47/48] fftools/ffprobe: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- fftools/ffprobe.c | 34 +++--- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index 740e759958..a6735f70c6 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c @@ -2463,14 +2463,12

[FFmpeg-devel] [PATCH 46/48] doc/examples/vaapi_transcode: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- doc/examples/vaapi_transcode.c | 42 ++ 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/doc/examples/vaapi_transcode.c b/doc/examples/vaapi_transcode.c index 279d20f636..5a1a704a8e 100644 --- a/doc/examples/vaapi_trans

[FFmpeg-devel] [PATCH 45/48] doc/examples/vaapi_encode: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- doc/examples/vaapi_encode.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/examples/vaapi_encode.c b/doc/examples/vaapi_encode.c index 707939db37..66cb949cdc 100644 --- a/doc/examples/vaapi_encode.c +++ b/doc/examples/vaapi_

[FFmpeg-devel] [PATCH 44/48] doc/examples/transcoding: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- doc/examples/transcoding.c | 48 ++ 1 file changed, 28 insertions(+), 20 deletions(-) diff --git a/doc/examples/transcoding.c b/doc/examples/transcoding.c index 5aff08c135..6ca3089330 100644 --- a/doc/examples/transcoding.c +++ b

[FFmpeg-devel] [PATCH 43/48] doc/examples/transcode_aac: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- doc/examples/transcode_aac.c | 46 +--- 1 file changed, 27 insertions(+), 19 deletions(-) diff --git a/doc/examples/transcode_aac.c b/doc/examples/transcode_aac.c index e0c76f5b35..73786ab59b 100644 --- a/doc/examples/transcode_aac.c

[FFmpeg-devel] [PATCH 42/48] doc/examples/demuxing_decoding: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- doc/examples/demuxing_decoding.c | 25 ++--- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/doc/examples/demuxing_decoding.c b/doc/examples/demuxing_decoding.c index 803e35d25c..db5e0cb951 100644 --- a/doc/examples/demuxing_decod

[FFmpeg-devel] [PATCH 41/48] tests/api/api-flac-test: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- This patch conflicts with one by Anton, so i'll adapt it after he pushes his. tests/api/api-flac-test.c | 21 - 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/tests/api/api-flac-test.c b/tests/api/api-flac-test.c index 3fea3258f3

[FFmpeg-devel] [PATCH 40/48] tools/target_bsf_fuzzer: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- tools/target_bsf_fuzzer.c | 33 ++--- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/tools/target_bsf_fuzzer.c b/tools/target_bsf_fuzzer.c index 8781a93ac3..bab809162a 100644 --- a/tools/target_bsf_fuzzer.c +++ b/tools/ta

[FFmpeg-devel] [PATCH 39/48] tools/target_dem_fuzzer: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- tools/target_dem_fuzzer.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/tools/target_dem_fuzzer.c b/tools/target_dem_fuzzer.c index 8ff98af945..af1840b359 100644 --- a/tools/target_dem_fuzzer.c +++ b/tools/target_dem_fuzzer.c @@ -

[FFmpeg-devel] [PATCH 38/48] tools/target_dec_fuzzer: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- tools/target_dec_fuzzer.c | 73 +++ 1 file changed, 36 insertions(+), 37 deletions(-) diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c index c484dd3e95..bac54d5aaa 100644 --- a/tools/target_dec_fuzzer.c +++ b/to

[FFmpeg-devel] [PATCH 37/48] tools/pktdumper: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- tools/pktdumper.c | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/tools/pktdumper.c b/tools/pktdumper.c index 16a965b756..c51f5c8922 100644 --- a/tools/pktdumper.c +++ b/tools/pktdumper.c @@ -54,7 +54,7 @@ int main(int ar

[FFmpeg-devel] [PATCH 36/48] avfilter/vf_uspp: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavfilter/vf_uspp.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/libavfilter/vf_uspp.c b/libavfilter/vf_uspp.c index 8b39f53c3d..8c75207593 100644 --- a/libavfilter/vf_uspp.c +++ b/libavfilter/vf_uspp.c @@ -51,6 +51,7 @@ typed

[FFmpeg-devel] [PATCH 35/48] avfilter/vf_mcdeint: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavfilter/vf_mcdeint.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/libavfilter/vf_mcdeint.c b/libavfilter/vf_mcdeint.c index bc7b3230d3..1cad45cd4e 100644 --- a/libavfilter/vf_mcdeint.c +++ b/libavfilter/vf_mcdeint.c @@ -74,6

[FFmpeg-devel] [PATCH 34/48] avdevice/xcbgrab: stop using av_init_packet()

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavdevice/xcbgrab.c | 4 1 file changed, 4 deletions(-) diff --git a/libavdevice/xcbgrab.c b/libavdevice/xcbgrab.c index 9604a5aaf2..b3c2170112 100644 --- a/libavdevice/xcbgrab.c +++ b/libavdevice/xcbgrab.c @@ -184,8 +184,6 @@ static int xcbgrab_frame(AVForm

[FFmpeg-devel] [PATCH 33/48] avdevice/decklink_dec: stop using av_init_packet()

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavdevice/decklink_dec.cpp | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/libavdevice/decklink_dec.cpp b/libavdevice/decklink_dec.cpp index 5acb2e8fbb..c34a69b5de 100644 --- a/libavdevice/decklink_dec.cpp +++ b/libavdevice/decklin

[FFmpeg-devel] [PATCH 32/48] avformat/tests/movenc: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavformat/tests/movenc.c | 81 -- 1 file changed, 42 insertions(+), 39 deletions(-) diff --git a/libavformat/tests/movenc.c b/libavformat/tests/movenc.c index 1d15d97ad9..04155dde76 100644 --- a/libavformat/tests/movenc.c +++ b

[FFmpeg-devel] [PATCH 31/48] avformat/tests/fifo_muxer: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavformat/tests/fifo_muxer.c | 28 ++-- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/libavformat/tests/fifo_muxer.c b/libavformat/tests/fifo_muxer.c index 5127a8aadb..3458c3eefd 100644 --- a/libavformat/tests/fifo_muxer.c

[FFmpeg-devel] [PATCH 30/48] avformat/wc3movie: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavformat/wc3movie.c | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/libavformat/wc3movie.c b/libavformat/wc3movie.c index 76e945d261..cd69931a42 100644 --- a/libavformat/wc3movie.c +++ b/libavformat/wc3movie.c @@ -69,7

[FFmpeg-devel] [PATCH 29/48] avformat/subtitles: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavformat/jacosubdec.c | 2 +- libavformat/mpeg.c | 4 +-- libavformat/mpsubdec.c | 4 +-- libavformat/subtitles.c | 69 +++- libavformat/subtitles.h | 2 +- libavformat/tedcaptionsdec.c | 4 +-- 6

[FFmpeg-devel] [PATCH 28/48] avformat/rtpenc_mpegts: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavformat/rtpenc_mpegts.c | 23 +++ 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/libavformat/rtpenc_mpegts.c b/libavformat/rtpenc_mpegts.c index 7d7377db7a..50cebf68a3 100644 --- a/libavformat/rtpenc_mpegts.c +++ b/libavformat

[FFmpeg-devel] [PATCH 27/48] avformat/rtpdec: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavformat/rtpdec.c| 2 +- libavformat/rtpdec_qt.c | 63 - 2 files changed, 38 insertions(+), 27 deletions(-) diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c index d592e34893..fd4601e654 100644 --- a/libavforma

[FFmpeg-devel] [PATCH 26/48] avformat/mpegtsenc: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavformat/mpegtsenc.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index 45f8d5f373..baf303dc60 100644 --- a/libavformat/mpegtsenc.c +++ b/libavformat/mpegtsenc.c @@ -77,

[FFmpeg-devel] [PATCH 25/48] avformat/mpegts: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavformat/mpegts.c | 36 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index e283ec09d7..6e0d9d7496 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -

[FFmpeg-devel] [PATCH 24/48] avformat/movenc: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavformat/movenc.c | 101 +-- libavformat/movenc.h | 4 +- libavformat/movenchint.c | 19 3 files changed, 77 insertions(+), 47 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index ccb

[FFmpeg-devel] [PATCH 23/48] avformat/matroskaenc: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavformat/matroskaenc.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 367e05b36b..68e1426d00 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroska

[FFmpeg-devel] [PATCH 22/48] avformat/matroskadec: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavformat/matroskadec.c | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 9a65774464..3ee28a447c 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c

[FFmpeg-devel] [PATCH 21/48] avformat/hls: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavformat/hls.c | 73 +-- 1 file changed, 39 insertions(+), 34 deletions(-) diff --git a/libavformat/hls.c b/libavformat/hls.c index af2468ad9b..dfc91fd5cb 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -101,

[FFmpeg-devel] [PATCH 20/48] avformat/flacdec: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavformat/flacdec.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/libavformat/flacdec.c b/libavformat/flacdec.c index 6aca4755a1..f7b21986dc 100644 --- a/libavformat/flacdec.c +++ b/libavformat/flacdec.c @@ -259,7 +259,7 @@ st

[FFmpeg-devel] [PATCH 19/48] avformat/id3v2: replace call to av_init_packet()

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavformat/id3v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c index df11b5450c..f33b7ba93a 100644 --- a/libavformat/id3v2.c +++ b/libavformat/id3v2.c @@ -1162,7 +1162,7 @@ int ff_id3v2_parse_apic(AV

[FFmpeg-devel] [PATCH 18/48] avformat/flac_picture: replace call to av_init_packet()

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavformat/flac_picture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/flac_picture.c b/libavformat/flac_picture.c index 53e24b28b7..f15cfa877a 100644 --- a/libavformat/flac_picture.c +++ b/libavformat/flac_picture.c @@ -165,7 +16

[FFmpeg-devel] [PATCH 17/48] avformat/avienc: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavformat/avienc.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/libavformat/avienc.c b/libavformat/avienc.c index 9cbf3d3349..ac11dd9cb2 100644 --- a/libavformat/avienc.c +++ b/libavformat/avienc.c @@ -66,6 +66,7 @@ typed

[FFmpeg-devel] [PATCH 16/48] avformat/avidec: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavformat/avidec.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/libavformat/avidec.c b/libavformat/avidec.c index 5ea6160eef..fa0599501a 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -59,7 +59,7 @

[FFmpeg-devel] [PATCH 15/48] avformat/asfdec_o: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavformat/asfdec_o.c | 63 -- 1 file changed, 36 insertions(+), 27 deletions(-) diff --git a/libavformat/asfdec_o.c b/libavformat/asfdec_o.c index c1d90360b4..34ae541934 100644 --- a/libavformat/asfdec_o.c +++ b/libavformat

[FFmpeg-devel] [PATCH 14/48] avformat/amvenc: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavformat/amvenc.c | 41 + 1 file changed, 25 insertions(+), 16 deletions(-) diff --git a/libavformat/amvenc.c b/libavformat/amvenc.c index 4d4ec7a2b1..5d13b618f4 100644 --- a/libavformat/amvenc.c +++ b/libavformat/amvenc.c

[FFmpeg-devel] [PATCH 13/48] avformat/utils: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavformat/internal.h | 1 + libavformat/options.c | 5 ++- libavformat/utils.c| 100 +++-- 3 files changed, 62 insertions(+), 44 deletions(-) diff --git a/libavformat/internal.h b/libavformat/internal.h index 02ff2fd77

[FFmpeg-devel] [PATCH 12/48] avformat/mux: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavformat/internal.h | 5 + libavformat/mux.c | 40 libavformat/options.c | 6 ++ libavformat/utils.c| 1 + 4 files changed, 32 insertions(+), 20 deletions(-) diff --git a/libavformat/internal.h b/liba

[FFmpeg-devel] [PATCH 08/48] avcodec/tdsc: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavcodec/tdsc.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/libavcodec/tdsc.c b/libavcodec/tdsc.c index 7c888b6ec8..9e7381c2bb 100644 --- a/libavcodec/tdsc.c +++ b/libavcodec/tdsc.c @@ -53,6 +53,7 @@ typedef struct TDSCContex

[FFmpeg-devel] [PATCH 11/48] avcodec/tests/avpacket: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavcodec/tests/avpacket.c | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/libavcodec/tests/avpacket.c b/libavcodec/tests/avpacket.c index 90b72341f4..7a70ade4c3 100644 --- a/libavcodec/tests/avpacket.c +++ b/libavcodec/test

[FFmpeg-devel] [PATCH 07/48] avcodec/pthread_frame: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavcodec/pthread_frame.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/libavcodec/pthread_frame.c b/libavcodec/pthread_frame.c index 4429a4d59c..7bcb9a7bcc 100644 --- a/libavcodec/pthread_frame.c +++ b/libavcodec/pthread

[FFmpeg-devel] [PATCH 10/48] avcodec/webp: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavcodec/webp.c | 24 +++- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/libavcodec/webp.c b/libavcodec/webp.c index 6de6a5c036..5a7aebc587 100644 --- a/libavcodec/webp.c +++ b/libavcodec/webp.c @@ -189,6 +189,7 @@ typedef stru

[FFmpeg-devel] [PATCH 06/48] avcodec/mpegvideo_enc: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavcodec/mpegvideo_enc.c | 38 -- 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index 34dcf8c313..355e14a71b 100644 --- a/libavcodec/mpegvideo_enc.c +++ b

[FFmpeg-devel] [PATCH 09/48] avcodec/tiff: use av_packet_alloc() to allocate AVPackets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavcodec/tiff.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c index d1e908fd43..17a593e379 100644 --- a/libavcodec/tiff.c +++ b/libavcodec/tiff.c @@ -58,6 +58,7 @@ typedef struct TiffContex

[FFmpeg-devel] [PATCH 05/48] avcodec/libxvid: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavcodec/libxvid.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/libavcodec/libxvid.c b/libavcodec/libxvid.c index 857077dc3b..d880558893 100644 --- a/libavcodec/libxvid.c +++ b/libavcodec/libxvid.c @@ -685,10 +685,12 @@ FF_ENAB

[FFmpeg-devel] [PATCH 04/48] avcodec/mmal: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavcodec/mmaldec.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/libavcodec/mmaldec.c b/libavcodec/mmaldec.c index cb15ac072a..ed51d74de5 100644 --- a/libavcodec/mmaldec.c +++ b/libavcodec/mmaldec.c @@ -776,12 +776,17 @@ stat

[FFmpeg-devel] [PATCH 03/48] avcodec/cri: use av_packet_alloc() to allocate packets

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavcodec/cri.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/libavcodec/cri.c b/libavcodec/cri.c index 3312606b75..0558d0c8dd 100644 --- a/libavcodec/cri.c +++ b/libavcodec/cri.c @@ -37,6 +37,7 @@ typedef struct CRIContex

[FFmpeg-devel] [PATCH 02/48] avcodec/packet_internal: make avpriv_packet_list_* functions use an internal struct

2021-03-05 Thread James Almer
The next pointer is kept at the end for backwards compatibility until the major bump, when it should be moved at the front. Signed-off-by: James Almer --- libavcodec/avpacket.c | 18 +- libavcodec/packet_internal.h | 10 +++--- libavdevice/decklink_common.h | 2 +-

[FFmpeg-devel] [PATCH 01/48] avcodec/packet: deprecate av_init_packet()

2021-03-05 Thread James Almer
Once removed, sizeof(AVPacket) will stop being a part of the public ABI. Signed-off-by: James Almer --- libavcodec/avpacket.c | 23 +++ libavcodec/packet.h| 22 ++ libavcodec/version.h | 5 - libavformat/avformat.h | 4 4 files changed, 4

[FFmpeg-devel] [PATCH 00/48 v3] deprecate av_init_packet() and sizeof(AVPacket) as part of the ABI

2021-03-05 Thread James Almer
Changes from v2 include fixing issues reported in the previous set, handling AVPacketList in a better way, skiping the dv patch for now as it needs a more thorough solution, removed the ffplay patch as it was already done by Marton, and removed the frame_thread_encoder patch as it became unnecessar

[FFmpeg-devel] Custom allocation functions

2021-03-05 Thread Martijn Otto
Hello all, I have made some changes to get custom allocation functions in ffmpeg. This is useful to me, as the software I work with easily runs into congestion on memory allocations in certain cases. I hope it is useful to others as well. It would be nice if this could be part of ffmpeg proper. I

Re: [FFmpeg-devel] [PATCH] configure: Fix bashism in openal check. (was: [PATCH] Bugfix for #9135)

2021-03-05 Thread Peter White
On Wed, Mar 03, 2021 at 06:17:36PM +0100, Reimar Döffinger wrote: > > > > I have never come around to setting up postfix for forwarding mails > > externally on my current system. So, for now, I am using the second > > best solution. Please see the attachment. > > Maybe not worth the effort, but F

Re: [FFmpeg-devel] [PATCH] avfilter/f_ebur128: add all sample rates support

2021-03-05 Thread Clément Bœsch
On Thu, Mar 04, 2021 at 04:05:53PM +0100, Paul B Mahol wrote: [...] > +double f0 = 1681.974450955533; > +double G = 3.999843853973347; > +double Q = 0.7071752369554196; > + > +double K = tan(M_PI * f0 / (double)inlink->sample_rate); > +double Vh = pow(10.0, G / 20.0); > +dou

Re: [FFmpeg-devel] [PATCH 4/8] avcodec: Constify some AVPackets

2021-03-05 Thread Andreas Rheinhardt
James Almer: > On 3/4/2021 12:42 PM, Andreas Rheinhardt wrote: >> Signed-off-by: Andreas Rheinhardt >> --- >> Of all the decoders using the simple decode API (i.e. with .decode set) >> only imm5 seems to modify its input packet (which is fine given that it >> is not the user-supplied reference); >

[FFmpeg-devel] [PATCH 3/3] avcodec/codec: add doxy to AVCodec.decode()

2021-03-05 Thread James Almer
Signed-off-by: James Almer --- libavcodec/codec.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/libavcodec/codec.h b/libavcodec/codec.h index bcda061da1..c019e7357c 100644 --- a/libavcodec/codec.h +++ b/libavcodec/codec.h @@ -281,6 +281,17 @@ typedef struct AVCodec { */

[FFmpeg-devel] [PATCH 2/3] avcodec/codec: use the correct name for all AVCodec.decode() parameters

2021-03-05 Thread James Almer
This field hasn't been used to return the output frame size since avcodec_decode_audio3() was removed. Signed-off-by: James Almer --- libavcodec/codec.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/codec.h b/libavcodec/codec.h index 3d7a1f4c26..bcda061da1 1006

[FFmpeg-devel] [PATCH 1/3] avcodec/codec: remove outdated comment about AVCodec.encode2()

2021-03-05 Thread James Almer
The packet passed as argument to this function hasn't contained a user-provided buffer since 93016f5d1d. Signed-off-by: James Almer --- libavcodec/codec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/codec.h b/libavcodec/codec.h index 0ccbf0eb19..3d7a1f4c26 1006

Re: [FFmpeg-devel] [PATCH] configure: Fix bashism in openal check. (was: [PATCH] Bugfix for #9135)

2021-03-05 Thread Peter White
This is a test to check if my postfix setup does what I intend. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject

Re: [FFmpeg-devel] [PATCH v4 2/2] avformat/gopher: Add support for Gopher over TLS.

2021-03-05 Thread Ivan J.
Bump for review. Test instructions: https://ffmpeg.org/pipermail/ffmpeg-devel/2021-February/276913.html Best regards, Ivan ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit lin