[FFmpeg-cvslog] avcodec/bitstream: Rewrite code to avoid triggering compiler warning

2021-02-24 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Feb 21 01:44:18 2021 +0100| [3bf07b1a2dfb2a7579f1d4c6ff6d64a444f66be2] | committer: Andreas Rheinhardt avcodec/bitstream: Rewrite code to avoid triggering compiler warning Clang infers from the existence of a default case that said case can be

[FFmpeg-cvslog] avcodec/ac3tab: Remove unused ff_eac3_default_chmap

2021-02-24 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Feb 18 19:46:25 2021 +0100| [4c8d9b1d0901b0fba0887e53463574913e8862c5] | committer: Andreas Rheinhardt avcodec/ac3tab: Remove unused ff_eac3_default_chmap Added in 0c79b1402a48a99f32435a0f5ad2364c58c6fcf3 to use it in a function that was never

[FFmpeg-cvslog] avcodec/movtextenc: Check for too many styles

2021-02-24 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Feb 20 23:42:04 2021 +0100| [1c9e53d70b4a0157af02070c2a6cf4db0c6f6dee] | committer: Andreas Rheinhardt avcodec/movtextenc: Check for too many styles The counter for the number of styles is written on two bytes, ergo anything > UINT16_MAX is in

[FFmpeg-cvslog] avcodec/mqcenc: Remove unused ff_mqc_length

2021-02-24 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Feb 18 19:50:06 2021 +0100| [f729dee615542f69c071d2759417e03a5645ef8a] | committer: Andreas Rheinhardt avcodec/mqcenc: Remove unused ff_mqc_length Unused since 4624656797b667eb6405186682eb04e74dfd90fd. Signed-off-by: Andreas Rheinhardt > ht

[FFmpeg-cvslog] avformat/asf: Move ff_asf_audio_conceal_none to its only user

2021-02-24 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Feb 18 19:39:21 2021 +0100| [6f3fe7b2c0c323870ae0619fc511d24a1dce787a] | committer: Andreas Rheinhardt avformat/asf: Move ff_asf_audio_conceal_none to its only user It is only used inside code guarded by #ifdef DEBUG, i.e. it is normally unuse

[FFmpeg-cvslog] avcodec/rangecoder: Move ff_rac_check_termination to tests/rangecoder.c

2021-02-24 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Feb 18 19:54:24 2021 +0100| [bce9c5e276be3da2cc44f6ff04673c7f1e8bfb2f] | committer: Andreas Rheinhardt avcodec/rangecoder: Move ff_rac_check_termination to tests/rangecoder.c It is only used there. Signed-off-by: Andreas Rheinhardt > http:/

[FFmpeg-cvslog] avcodec/acelp_pitch_delay: Inline small functions only used once

2021-02-24 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Feb 18 21:24:51 2021 +0100| [790be3125ddcd5973d070cb05467fdf8843c7edc] | committer: Andreas Rheinhardt avcodec/acelp_pitch_delay: Inline small functions only used once ff_acelp_decode_8bit_to_1st_delay3, ff_acelp_decode_4bit_to_2nd_delay3 and

[FFmpeg-cvslog] avcodec/x86/diracdsp_init: Remove unused MMX functions

2021-02-24 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Feb 19 00:43:45 2021 +0100| [3a80b1ac121670c2235d92779546c5c789620842] | committer: Andreas Rheinhardt avcodec/x86/diracdsp_init: Remove unused MMX functions Unused since a1f3b18bf55f106c974eacb1dc831be4d2bd5277, yet as nonstatic functions the

[FFmpeg-cvslog] avcodec/x86/diracdsp_init: Make functions only used here static

2021-02-24 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Feb 19 01:32:25 2021 +0100| [68bd6c7dac6aa8077110b6794afd8928060371c2] | committer: Andreas Rheinhardt avcodec/x86/diracdsp_init: Make functions only used here static This allowed to remove forward declarations. Because compilers expect declar

[FFmpeg-cvslog] avcodec/acelp_vectors: Remove unused ff_fc_2pulses_9bits_track1

2021-02-24 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Feb 18 23:14:11 2021 +0100| [559a26600a472e8f2ce3c2e6ad96a14a43d25e2d] | committer: Andreas Rheinhardt avcodec/acelp_vectors: Remove unused ff_fc_2pulses_9bits_track1 Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffm

[FFmpeg-cvslog] avcodec/x86/diracdsp_init: Reuse macro

2021-02-24 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Feb 19 01:50:40 2021 +0100| [7825cc392a2febbe91a1321a522dbdaa49048ae7] | committer: Andreas Rheinhardt avcodec/x86/diracdsp_init: Reuse macro Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7825c

[FFmpeg-cvslog] avcodec/x86/diracdsp_init: Simplify macro

2021-02-24 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Feb 19 01:50:01 2021 +0100| [0f317eb8e70e734cce2b3dda7f850f7a334461fb] | committer: Andreas Rheinhardt avcodec/x86/diracdsp_init: Simplify macro Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0f

[FFmpeg-cvslog] avcodec/celp_math: Disable unused function

2021-02-24 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Feb 19 02:22:36 2021 +0100| [f529793490310f7a7bb47b18786b179db18dd759] | committer: Andreas Rheinhardt avcodec/celp_math: Disable unused function The code using ff_exp2 (namely ff_acelp_decode_gain_code) use it only if G729_BITEXACT is defined

[FFmpeg-cvslog] swscale/x86/yuv2rgb: Remove unused ASM constants

2021-02-24 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Feb 19 04:31:02 2021 +0100| [49db6e4b4e68555ac19f377d460d680903b320a7] | committer: Andreas Rheinhardt swscale/x86/yuv2rgb: Remove unused ASM constants mmx_grnmask is unused since 531f97b0c32d1d421f3ac614e002c53951658115, the other constants s

[FFmpeg-cvslog] swscale/x86/rgb2rgb: Remove unused ASM constants

2021-02-24 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Feb 19 04:49:04 2021 +0100| [aad597a93cebe4c3d5f4394e1d7bed6e3eedff12] | committer: Andreas Rheinhardt swscale/x86/rgb2rgb: Remove unused ASM constants mask24hh etc. are unused since f099fbf5f3ac1d6b3753fc8dfda6558572111fbd, mask32b and mask32

[FFmpeg-cvslog] swscale/x86/swscale: Remove unused ASM constants

2021-02-24 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Feb 19 06:50:43 2021 +0100| [c23a5523b5c5bc63d206cd18a669875034e62ae5] | committer: Andreas Rheinhardt swscale/x86/swscale: Remove unused ASM constants The last user of g15Mask, r15Mask, g16Mask and r16Mask was disabled in 77a416e8aab77058b542

[FFmpeg-cvslog] avcodec/x86/constants: Remove unused ff_pw_17

2021-02-24 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Feb 19 07:41:36 2021 +0100| [585b764f9586fc6e5301a1ca4eff5a858f92a30b] | committer: Andreas Rheinhardt avcodec/x86/constants: Remove unused ff_pw_17 Unused since 80944df720da98d6e5ee0e355db5814735914ec9. Signed-off-by: Andreas Rheinhardt >

[FFmpeg-cvslog] avcodec/rv34data: Remove rv34_dquant_tab

2021-02-24 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Feb 20 15:22:38 2021 +0100| [b913a4e18d3278017fcaaecd90a1c53e916b4479] | committer: Andreas Rheinhardt avcodec/rv34data: Remove rv34_dquant_tab It is unused and coincides with ff_modified_quant_tab. Signed-off-by: Andreas Rheinhardt > http:

[FFmpeg-cvslog] avutil/buffer: free all pooled buffers immediately after uninitializing the pool

2021-02-24 Thread James Almer
ffmpeg | branch: master | James Almer | Sat Feb 20 10:21:47 2021 -0300| [45a29029761297535296ddf66bcdeca3086a468d] | committer: James Almer avutil/buffer: free all pooled buffers immediately after uninitializing the pool No buffer will be fetched from the pool after it's uninitialized, so there

[FFmpeg-cvslog] avformat/vpk: check that samples_per_block is > 0

2021-02-24 Thread Paul B Mahol
ffmpeg | branch: master | Paul B Mahol | Wed Feb 24 17:03:11 2021 +0100| [8213f0a7f7e64c81a275118ac00decbaa96e040a] | committer: Paul B Mahol avformat/vpk: check that samples_per_block is > 0 Fixes floating point exception. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8213f0a7f7

[FFmpeg-cvslog] avcodec/exr: simplify piz decompression

2021-02-24 Thread Paul B Mahol
ffmpeg | branch: master | Paul B Mahol | Sat Feb 20 02:35:06 2021 +0100| [767d3f7dcf818a88b7fa9c510b8721f247faee3c] | committer: Paul B Mahol avcodec/exr: simplify piz decompression Note that >32 codes are no longer supported, give proper error code if such scenario ever happens. > http://git.

[FFmpeg-cvslog] avcodec/cfhdenc: add padding to each decomposition

2021-02-24 Thread Paul B Mahol
ffmpeg | branch: master | Paul B Mahol | Sat Feb 13 21:49:14 2021 +0100| [fbfa78508bec11e231b3e276dcc716fe654baca3] | committer: Paul B Mahol avcodec/cfhdenc: add padding to each decomposition > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fbfa78508bec11e231b3e276dcc716fe654baca3 -

[FFmpeg-cvslog] avcodec/cfhdenc: refactor DSP code for CFHD encoder

2021-02-24 Thread Paul B Mahol
ffmpeg | branch: master | Paul B Mahol | Tue Feb 9 19:17:27 2021 +0100| [d69f4be1c6c6e305b4f32235bcab35dcc8c9c98b] | committer: Paul B Mahol avcodec/cfhdenc: refactor DSP code for CFHD encoder This is needed to implement x86 SIMD. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d6

[FFmpeg-cvslog] avcodec/cfhdenc: do not try to encode junk

2021-02-24 Thread Paul B Mahol
ffmpeg | branch: master | Paul B Mahol | Thu Feb 18 23:42:01 2021 +0100| [33025ab9760aa7ea12d9f8d9bc4d31970a8dc5b3] | committer: Paul B Mahol avcodec/cfhdenc: do not try to encode junk > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=33025ab9760aa7ea12d9f8d9bc4d31970a8dc5b3 --- lib

[FFmpeg-cvslog] tests: add a test for LSCR

2021-02-24 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Sun Feb 14 15:55:57 2021 +0100| [6853bdbdd2123ca2c42d0841bf6bd67fc7ea8150] | committer: Anton Khirnov tests: add a test for LSCR > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6853bdbdd2123ca2c42d0841bf6bd67fc7ea8150 --- tests/fate/video

[FFmpeg-cvslog] lavc: split LSCR decoder out of PNG decoder

2021-02-24 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Sun Feb 14 15:50:10 2021 +0100| [3a5b857d4c455f20d811cad81c7251af2f82fba2] | committer: Anton Khirnov lavc: split LSCR decoder out of PNG decoder It shares very little code with pngdec, so keeping them together only makes the code harder to read. > ht

[FFmpeg-cvslog] lavc/lscrdec: drop unapplicable private capabilities

2021-02-24 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Sun Feb 14 16:12:39 2021 +0100| [087359ad8599da3972e142b4f2b56a858cdef70b] | committer: Anton Khirnov lavc/lscrdec: drop unapplicable private capabilities FF_CODEC_CAP_ALLOCATE_PROGRESS makes no sense because the decoder does not support frame threadin

[FFmpeg-cvslog] pngdec: fix and simplify apng reference handling

2021-02-24 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Sun Feb 14 16:37:33 2021 +0100| [5663301560d77486c7f7c03c1aa5f542fab23c24] | committer: Anton Khirnov pngdec: fix and simplify apng reference handling Current code is very confused and confusing. It uses two different reference frames - "previous" and

[FFmpeg-cvslog] tests/fate/apng: add a test for APNG_DISPOSE_OP_PREVIOUS

2021-02-24 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Tue Feb 16 21:19:38 2021 +0100| [eed2125f3f1762f940bb42d49ae608b90a7f79ae] | committer: Anton Khirnov tests/fate/apng: add a test for APNG_DISPOSE_OP_PREVIOUS > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=eed2125f3f1762f940bb42d49ae608b90

[FFmpeg-cvslog] lavc/lscrdec: use ff_reget_buffer()

2021-02-24 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Wed Feb 24 09:38:22 2021 +0100| [d3d99a0a068ff703c7f7c3c0dc0b66c9a0774fdd] | committer: Anton Khirnov lavc/lscrdec: use ff_reget_buffer() It is simpler and more efficient. Suggested-by: James Almer > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=