[FFmpeg-cvslog] avcodec/bsf: switch to av_get_token to parse bsf list string

2021-07-03 Thread Gyan Doshi
ffmpeg | branch: master | Gyan Doshi | Sat Jul 3 17:20:59 2021 +0530| [301d275301d72387732ccdc526babaf984ddafe5] | committer: Gyan Doshi avcodec/bsf: switch to av_get_token to parse bsf list string The recently added setts bsf makes use of the eval API whose expressions can contain commas. The

[FFmpeg-cvslog] avcodec/lpc: check for zero err in normalization in compute_lpc_coefs()

2021-07-03 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Mon May 31 15:27:18 2021 +0200| [70874e024a6eae0f95bd8dd4b9b4367ffd937f41] | committer: Michael Niedermayer avcodec/lpc: check for zero err in normalization in compute_lpc_coefs() Fixes: floating point division by 0 Fixes: Ticket8213 Signed-off-

[FFmpeg-cvslog] avcodec/j2kenc: Check for av_strtok() failure

2021-07-03 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Tue May 18 22:44:19 2021 +0200| [6a6a765fa4ca57143453093af3bf8d1c8a52d0b0] | committer: Michael Niedermayer avcodec/j2kenc: Check for av_strtok() failure Fixes: CID1466601 Dereference null return value Signed-off-by: Michael Niedermayer > http

[FFmpeg-cvslog] tools/cws2fws: Check read() for failure

2021-07-03 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Sun May 16 20:36:46 2021 +0200| [0b3cdd7cc2c63969e144cc3eb39d0c61260509ee] | committer: Michael Niedermayer tools/cws2fws: Check read() for failure Fixes: CID1452579 Argument cannot be negative Signed-off-by: Michael Niedermayer > http://git.v

[FFmpeg-cvslog] avformat/ftp: Check for av_strtok() failure

2021-07-03 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Tue May 18 22:38:40 2021 +0200| [9d40782088cf969fbadc881e4a97ec22b8ae0177] | committer: Michael Niedermayer avformat/ftp: Check for av_strtok() failure Fixes: CID1396258 Dereference null return value Signed-off-by: Michael Niedermayer > http:/

[FFmpeg-cvslog] tools/target_dec_fuzzer: Adjust threshold for theora

2021-07-03 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Mon May 10 20:01:21 2021 +0200| [532c65f751174bfa193199219322a3ad914544cd] | committer: Michael Niedermayer tools/target_dec_fuzzer: Adjust threshold for theora Fixes: Timeout Fixes: 33916/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_THEORA

[FFmpeg-cvslog] sws: move updating the palette higher up

2021-07-03 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Fri May 21 15:44:49 2021 +0200| [37c0fe49b70ce5f18b67dc7b7578900a684bd0b0] | committer: Anton Khirnov sws: move updating the palette higher up It does not interact in any way with the code setting up the image pointers/strides, so it should not be inte

[FFmpeg-cvslog] sws: move initializing dither_error higher up

2021-07-03 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Fri May 21 15:44:49 2021 +0200| [d6649d9a3badfae00b8735e6d8628ab2b856dccd] | committer: Anton Khirnov sws: move initializing dither_error higher up It does not interact in any way with the code setting up the image pointers/strides, so it should not be

[FFmpeg-cvslog] sws: move the early return for zero-sized slices higher up

2021-07-03 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Fri May 21 12:06:52 2021 +0200| [e1889855983094ca74c494d29b33e482b1bba865] | committer: Anton Khirnov sws: move the early return for zero-sized slices higher up Place it right after the input parameter validation. There is no point in performing any se

[FFmpeg-cvslog] sws: simplify setting sliceDir

2021-07-03 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Thu May 20 17:03:18 2021 +0200| [a91e6c927e526f6a24336379148ff0e399afa852] | committer: Anton Khirnov sws: simplify setting sliceDir > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a91e6c927e526f6a24336379148ff0e399afa852 --- libswscale/s

[FFmpeg-cvslog] sws: merge handling frame start into a single block

2021-07-03 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Thu May 20 17:02:16 2021 +0200| [ff753f41dd3dbe7b71c314ecfe4b9dd89e059f57] | committer: Anton Khirnov sws: merge handling frame start into a single block Also, return an error code on failure rather than 0. > http://git.videolan.org/gitweb.cgi/ffmpeg.

[FFmpeg-cvslog] sws: make checking for the start of a new frame more explicit

2021-07-03 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Thu May 20 16:57:52 2021 +0200| [1b11a324feb56ec70161f856c5fb103363cff0af] | committer: Anton Khirnov sws: make checking for the start of a new frame more explicit > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1b11a324feb56ec70161f856c5fb

[FFmpeg-cvslog] sws: reset sliceDir at the end of sws_scale()

2021-07-03 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Thu May 20 16:52:07 2021 +0200| [0fb014b7bb6e60cca8828467ec937cc51dbaa166] | committer: Anton Khirnov sws: reset sliceDir at the end of sws_scale() Makes it more clear that resetting it does not interact with the scaling code that it is currently inter

[FFmpeg-cvslog] sws: rename SwsContext.swscale to convert_unscaled

2021-07-03 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Thu Jun 10 17:10:35 2021 +0200| [1f80789bf72cc9419d8d0040b7e89f72f6b071f5] | committer: Anton Khirnov sws: rename SwsContext.swscale to convert_unscaled That function pointer is now used only for unscaled conversion. > http://git.videolan.org/gitweb.c

[FFmpeg-cvslog] sws: separate the calls to scaled vs unscaled conversion

2021-07-03 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Thu May 20 13:37:06 2021 +0200| [fe490ec16531ac2d10a6bd8d3be560d31b00af67] | committer: Anton Khirnov sws: separate the calls to scaled vs unscaled conversion Call the scaler function directly rather than through a function pointer. Drop the now-unused

[FFmpeg-cvslog] sws: do not reallocate scratch buffers for each slice

2021-07-03 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Wed May 19 14:45:34 2021 +0200| [0f8e0957d23038f80c8c6193b4f940cfd0b42c9c] | committer: Anton Khirnov sws: do not reallocate scratch buffers for each slice > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0f8e0957d23038f80c8c6193b4f940cfd0b4

[FFmpeg-cvslog] sws: group the parameters validity checks together

2021-07-03 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Wed May 19 11:55:22 2021 +0200| [2730639259f5bdf81d4223cd8f4275e2939a1482] | committer: Anton Khirnov sws: group the parameters validity checks together Also, fail with an error code rather than 0. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=co

[FFmpeg-cvslog] sws: factor out cascaded scaling

2021-07-03 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Wed May 19 11:47:42 2021 +0200| [f136493d03c2bca7518fbcbc9b0a1f3abd27d9d4] | committer: Anton Khirnov sws: factor out cascaded scaling > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f136493d03c2bca7518fbcbc9b0a1f3abd27d9d4 --- libswscale

[FFmpeg-cvslog] sws: initialize {src,dst}Stride2 consistently with {src,dst}2

2021-07-03 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Wed May 19 11:50:28 2021 +0200| [c05cab34a9d53c6b948e3757385b9c2657608603] | committer: Anton Khirnov sws: initialize {src,dst}Stride2 consistently with {src,dst}2 > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c05cab34a9d53c6b948e3757385b

[FFmpeg-cvslog] sws: cosmetics

2021-07-03 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Wed May 19 10:14:14 2021 +0200| [a2254aedc9042af6b36e4e69129fe38e02c85d4c] | committer: Anton Khirnov sws: cosmetics Reindent after previous commit, split long lines. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a2254aedc9042af6b36e4e69

[FFmpeg-cvslog] sws: cosmetics

2021-07-03 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Wed May 19 11:48:23 2021 +0200| [d3d8e09640ed311320c2bb50d44d1d977512e972] | committer: Anton Khirnov sws: cosmetics Reindent after previous commit, rewrap long lines. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d3d8e09640ed311320c2bb5

[FFmpeg-cvslog] sws: factor out gamma-correct scaling

2021-07-03 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Wed May 19 10:12:15 2021 +0200| [44f12718bfba8d1dd2e0757c13ddb91ea349f996] | committer: Anton Khirnov sws: factor out gamma-correct scaling > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=44f12718bfba8d1dd2e0757c13ddb91ea349f996 --- libsw

[FFmpeg-cvslog] sws: return an error code on invalid parameters to sws_scale()

2021-07-03 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Wed May 19 09:52:40 2021 +0200| [e355af9be9756e81e6e6d5a51cfc2853c1e5001e] | committer: Anton Khirnov sws: return an error code on invalid parameters to sws_scale() > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e355af9be9756e81e6e6d5a51cf

[FFmpeg-cvslog] sws: factor out updating the palette

2021-07-03 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Wed May 19 09:48:54 2021 +0200| [27acca1af04ebff0d90dfc8d3048f7722e4f574e] | committer: Anton Khirnov sws: factor out updating the palette > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=27acca1af04ebff0d90dfc8d3048f7722e4f574e --- libsws

[FFmpeg-cvslog] sws: reindent after previous commit

2021-07-03 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Wed May 19 09:49:53 2021 +0200| [21a4e48f8807e9e8339086c95f8e468bce431358] | committer: Anton Khirnov sws: reindent after previous commit > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=21a4e48f8807e9e8339086c95f8e468bce431358 --- libswsc

[FFmpeg-cvslog] sws: remove unnecessary braces

2021-07-03 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Fri May 14 11:51:22 2021 +0200| [f8c21ccbfcb7f736b4f673523de18f0611271967] | committer: Anton Khirnov sws: remove unnecessary braces There used to be more code inside them, but it was removed in 6de58b49032a206985602effec91e5e46c886ea2. > http://git.v