[FFmpeg-cvslog] avcodec/vmixdec: fix inputs with more than 255 slices

2023-09-10 Thread Paul B Mahol
ffmpeg | branch: master | Paul B Mahol | Mon Sep 11 01:07:44 2023 +0200| [86bd0f08d3ea3dfdd523a1b1ac9e52545641c443] | committer: Paul B Mahol avcodec/vmixdec: fix inputs with more than 255 slices > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=86bd0f08d3ea3dfdd523a1b1ac9e52545641c44

[FFmpeg-cvslog] avcodec/shorten: use uint16_t for wave_format

2023-09-10 Thread Paul B Mahol
ffmpeg | branch: master | Paul B Mahol | Sun Sep 10 22:50:35 2023 +0200| [64f538c356b22922663a6a6d3d0a062ae574dc44] | committer: Paul B Mahol avcodec/shorten: use uint16_t for wave_format > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=64f538c356b22922663a6a6d3d0a062ae574dc44 ---

[FFmpeg-cvslog] avcodec/truemotion2: Don't check before freeing VLC

2023-09-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Sep 8 15:29:17 2023 +0200| [e9bbb39e94555f5bc8eb58e74c44dde87e28040a] | committer: Andreas Rheinhardt avcodec/truemotion2: Don't check before freeing VLC ff_vlc_free() is of course compatible with freeing a blank VLC. Reviewed-by: Paul B Mah

[FFmpeg-cvslog] avcodec/vlc: Use proper namespace

2023-09-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Sep 8 15:18:12 2023 +0200| [9cdf82c2c2f0cec6d3963737bfdf3b3f3112ff20] | committer: Andreas Rheinhardt avcodec/vlc: Use proper namespace Therefore use a proper prefix for this API, e.g. ff_init_vlc_sparse -> ff_vlc_init_sparse ff_free_vlc

[FFmpeg-cvslog] tools/patcheck: Remove test for ancient INIT_VLC_USE_STATIC

2023-09-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Sep 8 14:47:49 2023 +0200| [95e876f069e9c5ed268ddcdeb06cc5e056c5e63c] | committer: Andreas Rheinhardt tools/patcheck: Remove test for ancient INIT_VLC_USE_STATIC The flag has been removed long ago. Signed-off-by: Andreas Rheinhardt > http:

[FFmpeg-cvslog] avcodec/vlc: Add documentation for ff_init_vlc_sparse()

2023-09-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Sep 8 14:10:10 2023 +0200| [7b98a1875d9d0229d647dcabd0bba5f97b6c4975] | committer: Andreas Rheinhardt avcodec/vlc: Add documentation for ff_init_vlc_sparse() Mostly taken from the documentation for ff_init_vlc_from_lengths(); also remove the

[FFmpeg-cvslog] avcodec/idctdsp: Avoid inclusion of avcodec.h

2023-09-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Sep 8 13:41:33 2023 +0200| [a84fe06112af4929a4f3d993373b4f3cf2725f9a] | committer: Andreas Rheinhardt avcodec/idctdsp: Avoid inclusion of avcodec.h Not every user of idctdsp.h wants to initialize an IDCTDSPContext; e.g. the proresdsp only use

[FFmpeg-cvslog] avcodec/proresdsp: Pass necessary parameter directly

2023-09-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Sep 8 12:49:28 2023 +0200| [7b0b9a25ed11625ae75f1fa47db41744578675fe] | committer: Andreas Rheinhardt avcodec/proresdsp: Pass necessary parameter directly Only avctx->bits_per_raw_sample is used. Signed-off-by: Andreas Rheinhardt > http://

[FFmpeg-cvslog] avcodec/proresdec: Include required headers directly

2023-09-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Sep 8 12:16:54 2023 +0200| [489d96ca020036b1f423556c0f5f19cad5461ca8] | committer: Andreas Rheinhardt avcodec/proresdec: Include required headers directly Do not rely on an indirect inclusion of avcodec.h in proresdsp.h. Signed-off-by: Andre

[FFmpeg-cvslog] avcodec/get_bits: Avoid reading multiple times in get_bits_long

2023-09-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Jun 22 03:52:53 2022 +0200| [b0fb8e82dde375efb8d5602f6cd479f210c1e93c] | committer: Andreas Rheinhardt avcodec/get_bits: Avoid reading multiple times in get_bits_long Due to non-byte-alignment a read of 32 bits guarantees only 25 usable bits;

[FFmpeg-cvslog] avformat/avio: Constify data pointees of write callbacks

2023-09-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Sep 6 20:30:08 2023 +0200| [2a68d945cd74265bb71c3d38b7a2e7f7d7e87be5] | committer: Andreas Rheinhardt avformat/avio: Constify data pointees of write callbacks They are currently non-const for reasons unknown, although avio_write() accepts a c

[FFmpeg-cvslog] avformat/aviobuf: Don't use incompatible function pointer type for call

2023-09-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Sep 6 16:04:20 2023 +0200| [e8704a8f60041abb84585efaf3223abf0b6dcb90] | committer: Andreas Rheinhardt avformat/aviobuf: Don't use incompatible function pointer type for call It is undefined behaviour even in cases where it works (it works bec

[FFmpeg-cvslog] avcodec/exr: use uint16/uint8 where possible

2023-09-10 Thread Paul B Mahol
ffmpeg | branch: master | Paul B Mahol | Sun Sep 10 22:14:41 2023 +0200| [e26506cb3b2a8c1ee28c13c328e4dcb037555f9e] | committer: Paul B Mahol avcodec/exr: use uint16/uint8 where possible > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e26506cb3b2a8c1ee28c13c328e4dcb037555f9e --- l

[FFmpeg-cvslog] avformat/adxdec: remove unneeded check for channels inside read_packet()

2023-09-10 Thread Paul B Mahol
ffmpeg | branch: master | Paul B Mahol | Sun Sep 10 22:08:59 2023 +0200| [f95cb3d1343e84a0941c6e61c1c9ee812f344d58] | committer: Paul B Mahol avformat/adxdec: remove unneeded check for channels inside read_packet() > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f95cb3d1343e84a0941c

[FFmpeg-cvslog] avformat: Remove avformat and avio headers from protocols

2023-09-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Sep 6 18:46:30 2023 +0200| [ee77ee77a1e04eebab066b73d4687ee19c234136] | committer: Andreas Rheinhardt avformat: Remove avformat and avio headers from protocols Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.gi

[FFmpeg-cvslog] all: Use av_frame_replace() where appropriate

2023-09-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Sep 7 12:02:26 2023 +0200| [cfa47fd3310aa64d5c48e855bfcaf26d170bcbc1] | committer: Andreas Rheinhardt all: Use av_frame_replace() where appropriate Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;

[FFmpeg-cvslog] avdevice/lavfi: Remove unnecessary avio_internal.h inclusion

2023-09-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Sep 6 18:25:32 2023 +0200| [d6afd6c30342572ccc44f8df7d498d189d7c6ac5] | committer: Andreas Rheinhardt avdevice/lavfi: Remove unnecessary avio_internal.h inclusion The stuff declared in said header is actually unusable in libavdevice. Signed-

[FFmpeg-cvslog] avformat/avio: Remove redundant checks

2023-09-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Sep 7 11:12:22 2023 +0200| [0487786ffe272af2954ed4d81e827f7ad9e76895] | committer: Andreas Rheinhardt avformat/avio: Remove redundant checks Checking the return value of av_opt_set() is equivalent to the current checks. Signed-off-by: Andrea

[FFmpeg-cvslog] avformat/teeproto: Remove always-false check

2023-09-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Sep 6 18:59:21 2023 +0200| [879178b40d2fd0ef9186d0ed3f693fb380714cba] | committer: Andreas Rheinhardt avformat/teeproto: Remove always-false check Incompatibility of the flags and the protocol's capabilities are checked generically (see url_a

[FFmpeg-cvslog] avformat/avio: Remove duplicated freeing code

2023-09-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Sep 7 11:05:30 2023 +0200| [ca78dcfb19e5c8928f587d33b08c6fb087f3c4f2] | committer: Andreas Rheinhardt avformat/avio: Remove duplicated freeing code The target of the jump frees this stuff, too. Signed-off-by: Andreas Rheinhardt > http://gi

[FFmpeg-cvslog] avformat/avio_internal: Don't include url.h

2023-09-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Sep 6 20:21:59 2023 +0200| [4f98bf9dbd0ef6a401fad40f6275ebd3904c83bf] | committer: Andreas Rheinhardt avformat/avio_internal: Don't include url.h It is only included because two very rarely used functions use pointers to URLContexts; use stru

[FFmpeg-cvslog] avformat/teeproto: Remove useless AVClass without options

2023-09-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Sep 6 17:39:37 2023 +0200| [7ed8c08821d7143c1efa9923ac27400ecf79790a] | committer: Andreas Rheinhardt avformat/teeproto: Remove useless AVClass without options Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.gi

[FFmpeg-cvslog] avformat/dashenc: Avoid relocations for short strings

2023-09-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Sep 6 17:13:01 2023 +0200| [90f444ef743661cc2d8a7689ec112463889dc832] | committer: Andreas Rheinhardt avformat/dashenc: Avoid relocations for short strings Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a

[FFmpeg-cvslog] avformat/dashenc: Simplify getting format string

2023-09-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Sep 6 16:41:58 2023 +0200| [c95cdf871c30a72965c65a4b3631e8a6d9b08a92] | committer: Andreas Rheinhardt avformat/dashenc: Simplify getting format string A switch is simpler than a lookup over a table with three entries, only two of which can ha

[FFmpeg-cvslog] avformat/dashenc: Avoid unnecessary casts

2023-09-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Sep 6 16:31:42 2023 +0200| [a23627ee5974417a891f0ab1a8b96146c7eadf18] | committer: Andreas Rheinhardt avformat/dashenc: Avoid unnecessary casts Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a2

[FFmpeg-cvslog] avformat/dashenc: Add const where appropriate

2023-09-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Sep 6 16:54:08 2023 +0200| [e4ab1b8f7026cb708349865cf9338ece60a5ecd7] | committer: Andreas Rheinhardt avformat/dashenc: Add const where appropriate Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;

[FFmpeg-cvslog] avformat/dashenc: Use proper type for AVCodecIDs

2023-09-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Sep 6 16:41:13 2023 +0200| [b948aa958ab70b4591cfa79d6465a8b866ca2459] | committer: Andreas Rheinhardt avformat/dashenc: Use proper type for AVCodecIDs Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=comm

[FFmpeg-cvslog] hevc_ps: fix fixed_rate check

2023-09-10 Thread llyyr
ffmpeg | branch: master | llyyr | Sun Sep 10 21:13:24 2023 +0530| [ded4478b8b6dbe939113b38df53778972e3af70e] | committer: Derek Buitenhuis hevc_ps: fix fixed_rate check Fixes: fc429d785e9e24c5520ce716d4bc3b5547e581eb Since fc429d785e9e24c5520ce716d4bc3b5547e581eb splits the fixed_rate flag in

[FFmpeg-cvslog] hevc_ps: fix cpb_cnt_minus1 initialization

2023-09-10 Thread llyyr
ffmpeg | branch: master | llyyr | Sun Sep 10 21:13:22 2023 +0530| [06241c31546a089eecbd5504fe6c9e27fdc68ea0] | committer: Derek Buitenhuis hevc_ps: fix cpb_cnt_minus1 initialization Fixes: fc429d785e9e24c5520ce716d4bc3b5547e581eb cpb_cnt used to be initialized to 1 before fc429d785e9e24c5520c

[FFmpeg-cvslog] avcodec/magicyuvenc: add support for encoding raw slice

2023-09-10 Thread Paul B Mahol
ffmpeg | branch: master | Paul B Mahol | Sun Sep 10 17:49:14 2023 +0200| [1a87a9d82a21794c997086ce56701f1d1598ba4e] | committer: Paul B Mahol avcodec/magicyuvenc: add support for encoding raw slice Switched to raw slice encoding only if huffman encoding size of slice is bigger than raw one. >

[FFmpeg-cvslog] avformat/vapoursynth: Add missing inclusion of frame.h

2023-09-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Sep 10 16:49:31 2023 +0200| [7b6e1fbeb93ea0c8806824cde81e04c2d1840667] | committer: Andreas Rheinhardt avformat/vapoursynth: Add missing inclusion of frame.h Broken in 0c6e5f321bf5c4054e8b98232692465b342b42b4. Also add it to decklink_enc.cpp i

[FFmpeg-cvslog] avcodec/cscd: Fix "CamStudio Lossless Codec 1.0" gzip files

2023-09-10 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Sun Sep 10 16:27:02 2023 +0200| [ab7d38f970674e6765b5e1adb911c1763b9ce806] | committer: Michael Niedermayer avcodec/cscd: Fix "CamStudio Lossless Codec 1.0" gzip files Fixes: tickets/10241/cscd_1_0_306_306_gzip.avi Signed-off-by: Michael Niederm

[FFmpeg-cvslog] avcodec/cscd: Check for CamStudio Lossless Codec 1.0 behavior in end check of LZO files

2023-09-10 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Wed Mar 8 22:11:59 2023 +0100| [d2a0464fc2dd6f79571a66e6c7a8168323168e46] | committer: Michael Niedermayer avcodec/cscd: Check for CamStudio Lossless Codec 1.0 behavior in end check of LZO files Alternatively the check could be simply made more

[FFmpeg-cvslog] avcodec/magicyuvenc: remove unnecessary indirection

2023-09-10 Thread Paul B Mahol
ffmpeg | branch: master | Paul B Mahol | Sun Sep 10 13:14:15 2023 +0200| [fd1574d1ba088cc5e25dc7f940564d244795320b] | committer: Paul B Mahol avcodec/magicyuvenc: remove unnecessary indirection > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fd1574d1ba088cc5e25dc7f940564d244795320b

[FFmpeg-cvslog] avcodec/magicyuvenc: add Slice struct to simplify allocations

2023-09-10 Thread Paul B Mahol
ffmpeg | branch: master | Paul B Mahol | Sun Sep 10 13:08:47 2023 +0200| [8c3169fafb59a1a4ce3fd3c6617449fc74d03d63] | committer: Paul B Mahol avcodec/magicyuvenc: add Slice struct to simplify allocations > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8c3169fafb59a1a4ce3fd3c6617449f

[FFmpeg-cvslog] avcodec/magicyuvenc: fix correlation buffers size when slices are used

2023-09-10 Thread Paul B Mahol
ffmpeg | branch: master | Paul B Mahol | Sun Sep 10 13:35:29 2023 +0200| [3b9e6a7333c1c8334e338394851e2e93f949e9e6] | committer: Paul B Mahol avcodec/magicyuvenc: fix correlation buffers size when slices are used > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3b9e6a7333c1c8334e3383

[FFmpeg-cvslog] avcodec/magicyuvenc: stop hardcoding max possible align

2023-09-10 Thread Paul B Mahol
ffmpeg | branch: master | Paul B Mahol | Sun Sep 10 12:44:58 2023 +0200| [a71662429367556dac50f3db6112e7502db86592] | committer: Paul B Mahol avcodec/magicyuvenc: stop hardcoding max possible align > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a71662429367556dac50f3db6112e7502db86

[FFmpeg-cvslog] avcodec/magicyuvenc: use last slice height when correlating

2023-09-10 Thread Paul B Mahol
ffmpeg | branch: master | Paul B Mahol | Sun Sep 10 13:46:57 2023 +0200| [c6f0fd2dcdb02f0894f143ae3ef0e2029200953a] | committer: Paul B Mahol avcodec/magicyuvenc: use last slice height when correlating > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c6f0fd2dcdb02f0894f143ae3ef0e2029

[FFmpeg-cvslog] avcodec/magicyuvenc: use const for src pointer

2023-09-10 Thread Paul B Mahol
ffmpeg | branch: master | Paul B Mahol | Sun Sep 10 12:17:21 2023 +0200| [800fbc98a5e8f62541c6534458089c67a71880ba] | committer: Paul B Mahol avcodec/magicyuvenc: use const for src pointer > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=800fbc98a5e8f62541c6534458089c67a71880ba ---

[FFmpeg-cvslog] avcodec/magicyuvenc: move bit writer to stack

2023-09-10 Thread Paul B Mahol
ffmpeg | branch: master | Paul B Mahol | Sun Sep 10 12:28:29 2023 +0200| [5c87933e76d36ccd951f8d61478c4166f3a87a5f] | committer: Paul B Mahol avcodec/magicyuvenc: move bit writer to stack > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5c87933e76d36ccd951f8d61478c4166f3a87a5f ---

[FFmpeg-cvslog] avcodec/magicyuvenc: check for allocation return value

2023-09-10 Thread Paul B Mahol
ffmpeg | branch: master | Paul B Mahol | Sun Sep 10 12:10:12 2023 +0200| [4d1b7ff73337f2a0bfc81e3b36b6f761e752b642] | committer: Paul B Mahol avcodec/magicyuvenc: check for allocation return value > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4d1b7ff73337f2a0bfc81e3b36b6f761e752b6

[FFmpeg-cvslog] avcodec/magicyuvenc: ensure no slice slot is left unset

2023-09-10 Thread Paul B Mahol
ffmpeg | branch: master | Paul B Mahol | Sun Sep 10 02:42:35 2023 +0200| [f832a77231ba8850aa390015df8e2f3025a822c4] | committer: Paul B Mahol avcodec/magicyuvenc: ensure no slice slot is left unset > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f832a77231ba8850aa390015df8e2f3025a82

[FFmpeg-cvslog] avfilter/buffersrc: Use av_frame_clone() where appropriate

2023-09-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Sep 7 12:07:30 2023 +0200| [67cc7aaa51fcd781ac5920d3c739e28c81cbb0cb] | committer: Andreas Rheinhardt avfilter/buffersrc: Use av_frame_clone() where appropriate Reviewed-by: Nicolas George Signed-off-by: Andreas Rheinhardt > http://git.vid

[FFmpeg-cvslog] avformat/internal: Avoid casting const away

2023-09-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Sep 6 15:39:24 2023 +0200| [185d0acdc7a67b7d3d78d4c917334c4c3bf9accd] | committer: Andreas Rheinhardt avformat/internal: Avoid casting const away Fixes many warnings when using -Wcast-qual. Reviewed-by: Tomas Härdin Signed-off-by: Andreas R