[FFmpeg-cvslog] avformat/segafilmenc: Combine several checks

2020-02-25 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Jan 14 04:13:35 2020 +0100| [ab44f0aee88032d2a406b689ff2ff144cf26b0ef] | committer: Michael Niedermayer avformat/segafilmenc: Combine several checks by moving them around. Signed-off-by: Andreas Rheinhardt Signed-off-by: Michael Niedermayer

[FFmpeg-cvslog] avformat/mux: Cosmetics

2020-02-25 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Aug 13 04:47:17 2019 +0200| [f701414bd54639f0b0cc72e129ac1a6e9141c6f8] | committer: Michael Niedermayer avformat/mux: Cosmetics Signed-off-by: Andreas Rheinhardt Signed-off-by: Michael Niedermayer > http://git.videolan.org/gitweb.

[FFmpeg-cvslog] fftools/ffmpeg_opt: Fix leak of options when parsing options fails

2020-02-29 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Feb 28 22:06:29 2020 +0100| [21265f42ecb265debe9fec1dbfd0cb7de5a8aefb] | committer: Michael Niedermayer fftools/ffmpeg_opt: Fix leak of options when parsing options fails Fixes #8094. Signed-off-by: Andreas Rheinhardt Reviewed-by: Paul B

[FFmpeg-cvslog] avfilter/vf_cas: Remove superfluous ;

2020-02-29 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Feb 28 22:06:30 2020 +0100| [be82dc175bb8386c3fafc1ea9814bacdb8126eb0] | committer: Michael Niedermayer avfilter/vf_cas: Remove superfluous ; The second ; in a double ;; is actually a null statement. It triggers the typical declaration-after

[FFmpeg-cvslog] avformat/segment: Don't set extradata size twice

2020-03-02 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Mar 2 05:35:20 2020 +0100| [5603176ab4aaf811cac67420f234b3778e887278] | committer: Michael Niedermayer avformat/segment: Don't set extradata size twice ff_alloc_extradata() already sets the size of the extradata so doing it again

[FFmpeg-cvslog] h264_mp4toannexb: Cosmetics

2020-03-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Dec 14 23:19:25 2019 +0100| [4a141f8e02f602c5548ab88877e8a83679111de6] | committer: Michael Niedermayer h264_mp4toannexb: Cosmetics Mainly reindentation, but some variables were also put into a smaller scope. Signed-off-by: Andreas

[FFmpeg-cvslog] h264_mp4toannexb: Stop reallocating the output buffer

2020-03-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Dec 14 23:19:23 2019 +0100| [cb47c6c6148d88ffd2f4e90e7d0b6decb23e350f] | committer: Michael Niedermayer h264_mp4toannexb: Stop reallocating the output buffer Up until now, h264_mp4toannexb would grow the output packet's buffer by the desired

[FFmpeg-cvslog] h264_mp4toannexb: Try to avoid four byte startcodes

2020-03-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Dec 14 23:19:20 2019 +0100| [518bbe9eac0da3bdf259e007e7031a7bccacbe8e] | committer: Michael Niedermayer h264_mp4toannexb: Try to avoid four byte startcodes According to the H.264 specifications, the only NAL units that need to have four byte

[FFmpeg-cvslog] h264_mp4toannexb: Switch to GetByteContext to read extradata

2020-03-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Dec 14 23:19:15 2019 +0100| [0ccb31f1356ed306febd74cb6d691017f20a1891] | committer: Michael Niedermayer h264_mp4toannexb: Switch to GetByteContext to read extradata This is done in order to improve readability. No functional change

[FFmpeg-cvslog] h264_mp4toannexb: Consistently use pointer comparisons

2020-03-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Dec 14 23:19:22 2019 +0100| [84c87e41a68dc4164a2a130504cd9c5b4413b744] | committer: Michael Niedermayer h264_mp4toannexb: Consistently use pointer comparisons h264_mp4toannexb_filter currently uses both indices/offsets as well as direct

[FFmpeg-cvslog] dump_extradata: Insert extradata even for small packets

2020-03-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Dec 14 23:19:26 2019 +0100| [a88a3cdb4b166c83b823d34abe8a7a6743c7ebd5] | committer: Michael Niedermayer dump_extradata: Insert extradata even for small packets 3469cfab added a check for whether the extradata coincided with the beginning

[FFmpeg-cvslog] h264_mp4toannexb: Improve overread checks

2020-03-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Dec 14 23:19:24 2019 +0100| [824f750880b45fdb5659019c88d82ab2f55b9ca9] | committer: Michael Niedermayer h264_mp4toannexb: Improve overread checks 1. Left shifts of signed values are undefined as soon as the result is no longer representable

[FFmpeg-cvslog] h264_mp4toannexb: Add a comment about possible overread

2020-03-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Dec 14 23:19:17 2019 +0100| [015950596cdca08b692defedd56c5c4761e81749] | committer: Michael Niedermayer h264_mp4toannexb: Add a comment about possible overread Before reading a 16bit size field during parsing of extradata, no check

[FFmpeg-cvslog] bytestream: Make get_bytes_left compatible with overread

2020-03-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Dec 14 23:19:14 2019 +0100| [7f96325bc4ccdcb4767bd6d11591d1e66f1350f4] | committer: Michael Niedermayer bytestream: Make get_bytes_left compatible with overread bytestream2_get_bytes_left returns an unsigned int; as a result, it returns big

[FFmpeg-cvslog] h264_mp4toannexb: Copy one NAL unit at a time

2020-03-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Dec 14 23:19:21 2019 +0100| [c177520f675945bf884223ea72bc68b7a4bea30f] | committer: Michael Niedermayer h264_mp4toannexb: Copy one NAL unit at a time If processing an input NAL unit triggers the insertion of data from extradata in front

[FFmpeg-cvslog] h264_mp4toannexb: Improve extradata overread checks

2020-03-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Dec 14 23:19:16 2019 +0100| [268dffc12b3f5466d0ca971591f5f13ec6d33db6] | committer: Michael Niedermayer h264_mp4toannexb: Improve extradata overread checks Currently during parsing the extradata, h264_mp4toannexb checks for overreads

[FFmpeg-cvslog] h264_mp4toannexb: Simplify extradata insertion

2020-03-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Dec 14 23:19:19 2019 +0100| [aa486b4b66ee3e1f835230856087c5436a522e40] | committer: Michael Niedermayer h264_mp4toannexb: Simplify extradata insertion Up until now, h264_mp4toannexb stored the offset of the first SPS and the first PPS

[FFmpeg-cvslog] avcodec/cdtoons: Remove superfluous ;

2020-02-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Feb 27 06:33:51 2020 +0100| [b6879b61dfe69e79c0fd32ce076fe1e7cbcc9c0c] | committer: Michael Niedermayer avcodec/cdtoons: Remove superfluous ; The second ; in a double ;; is actually a null statement. It triggers the typical declaration-after

[FFmpeg-cvslog] avformat/ivfenc: Don't use size_t for size of file

2020-02-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Feb 27 06:33:50 2020 +0100| [7b79c59fba445d932aec6e553176821b187125ba] | committer: Michael Niedermayer avformat/ivfenc: Don't use size_t for size of file Signed-off-by: Andreas Rheinhardt Reviewed-by: Paul B Mahol Signed-off-by: Michael

[FFmpeg-cvslog] avformat/av1: Improve filtering AV1 OBUs

2020-01-26 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Jan 23 17:08:32 2020 +0100| [d4bbc0db011151191ebc5e14af4be28127715cbd] | committer: James Almer avformat/av1: Improve filtering AV1 OBUs Both ISOBMFF as well as Matroska require certain OBUs to be stripped before muxing them. There are two

[FFmpeg-cvslog] avcodec/ra144enc: Fix invalid left shift of negative number

2020-01-23 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Jan 22 15:52:10 2020 +0100| [e3fb9af6f1353f30855eaa1cbd5befaf06e303b8] | committer: Michael Niedermayer avcodec/ra144enc: Fix invalid left shift of negative number by replacing it with a multiplication. Said multiplication can't overflow

[FFmpeg-cvslog] avformat/audiointerleave: Check before dereferencing

2020-01-26 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Jan 26 11:27:36 2020 +0100| [f1d46db92625b62c82414b667a3203dd16d491e5] | committer: Michael Niedermayer avformat/audiointerleave: Check before dereferencing In order to use ff_audio_rechunk_interleave() (a special interleavement function

[FFmpeg-cvslog] avformat/dvenc: Replace write_trailer by deinit function

2020-01-26 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Jan 26 07:40:50 2020 +0100| [f1dbfcdf895e03e3d0d8b195f3525b57426b0377] | committer: Michael Niedermayer avformat/dvenc: Replace write_trailer by deinit function The old write_trailer only freed memory, so it is better to make a dedicated

[FFmpeg-cvslog] avformat/gxfenc: Add deinit function

2020-01-26 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Jan 26 11:27:39 2020 +0100| [262b554358120a945c32045691a02ee1abea7841] | committer: Michael Niedermayer avformat/gxfenc: Add deinit function Fixes memleaks when the trailer is never written (e.g. if the call to gxf_write_map_packet

[FFmpeg-cvslog] avformat/mxfenc: Add deinit function

2020-01-26 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Jan 26 11:27:38 2020 +0100| [e6aa9b11bf00167ec52cddbc9808cae632b3f774] | committer: Michael Niedermayer avformat/mxfenc: Add deinit function Fixes memleaks when allocating the private data of the timecode_track fails or when the trailer

[FFmpeg-cvslog] avformat/mux: Don't unnecessarily zero-initialize AVPacketList

2020-01-26 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Aug 13 04:47:15 2019 +0200| [148fb44b369403931e5ad299aefb0e6a4206a0f7] | committer: Michael Niedermayer avformat/mux: Don't unnecessarily zero-initialize AVPacketList If no error occurs and this AVPacketList is used at all, its packet

[FFmpeg-cvslog] avformat/dvenc: Don't zero unnecessarily

2020-01-26 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Jan 26 08:13:11 2020 +0100| [556c4e38d57f467a7f9367d8edda0d48ec6f585e] | committer: Michael Niedermayer avformat/dvenc: Don't zero unnecessarily The muxing context has already been zeroed when it was allocated, hence it is unnecessary to do

[FFmpeg-cvslog] avformat/mux: Move packet references

2020-01-26 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Aug 13 04:47:14 2019 +0200| [020159e0e73ddeaeb393f1c40d58fd11447d95a1] | committer: Michael Niedermayer avformat/mux: Move packet references In the common case that the input packet was already refcounted, ff_interleave_add_packet would

[FFmpeg-cvslog] avformat/mxfenc: Don't free priv_data of AVStream

2020-01-26 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Jan 26 11:27:37 2020 +0100| [360aeccf46308476eff7e13c894ac406f54e4395] | committer: Michael Niedermayer avformat/mxfenc: Don't free priv_data of AVStream It will be freed when the AVStream is freed later anyway. Signed-off-by: Andreas

[FFmpeg-cvslog] avformat/matroskaenc: Check for reformatting errors

2020-01-26 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Jan 23 17:08:27 2020 +0100| [58428bef4b2c053f47dce35157fb96833ba8efea] | committer: James Almer avformat/matroskaenc: Check for reformatting errors This is needed especially for AV1: If a reformatting error happens (e.g. if the length field

[FFmpeg-cvslog] avformat/av1, hevc: Make *_buf-functions return 0 on success

2020-01-26 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Jan 23 17:08:30 2020 +0100| [22ec35a428d66875870b51cf3e2a4d085279ebd0] | committer: James Almer avformat/av1, hevc: Make *_buf-functions return 0 on success The output size is already returned via a pointer argument, so there is no need

[FFmpeg-cvslog] avformat/hevc: Fix potential leak in case of ff_hevc_annexb2mp4_buf failure

2020-01-26 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Jan 23 17:08:29 2020 +0100| [680cd59bb21c7bce92789ff885c018207b0b90bc] | committer: James Almer avformat/hevc: Fix potential leak in case of ff_hevc_annexb2mp4_buf failure ff_hevc_annexb2mp4_buf() could indicate an error, yet leave cleaning

[FFmpeg-cvslog] avformat/av1: Fix nits in the documentation of ff_av1_filter_obus_buf()

2020-01-26 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Jan 24 23:48:31 2020 +0100| [2eee34372ff2ae4a4efc348362b904632b1e7cee] | committer: James Almer avformat/av1: Fix nits in the documentation of ff_av1_filter_obus_buf() Signed-off-by: Andreas Rheinhardt Signed-off-by: James Almer > h

[FFmpeg-cvslog] avformat/av1: Avoid allocation + copying when filtering OBUs

2020-01-26 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Jan 24 23:48:33 2020 +0100| [a3e43e0cf3d368663acbfc56c294216651f7fbab] | committer: James Almer avformat/av1: Avoid allocation + copying when filtering OBUs Certain types of OBUs are stripped away before muxing into Matroska and ISOBMFF

[FFmpeg-cvslog] avformat/movenc: Check for reformatting errors when writing hint tracks

2020-01-26 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Jan 23 17:08:31 2020 +0100| [e8518c2580f78a727d1e5d32c9cb6fe453ea5e53] | committer: James Almer avformat/movenc: Check for reformatting errors when writing hint tracks If this is not done, the avio_write() calls will cause segfaults

[FFmpeg-cvslog] avformat/matroskaenc: Cosmetics

2020-01-26 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Jan 23 17:08:28 2020 +0100| [e4749a44979e8d403021d265623e9233fee0dae4] | committer: James Almer avformat/matroskaenc: Cosmetics Add {, } in situations like if () ... else if () /* Comment */ ... else ... Signed-off-by: Andreas

[FFmpeg-cvslog] avformat/av1, avc, hevc: Remove av_freep()

2020-01-26 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Jan 24 23:48:28 2020 +0100| [285a6fdd4a4f7365333d951f86cc0da8eec5] | committer: James Almer avformat/av1, avc, hevc: Remove av_freep() ff_av1_filter_obus_buf() and ff_avc_parse_nal_units_buf() both have a pointer-to-pointer parameter

[FFmpeg-cvslog] avformat/mux: Don't use av_ prefix for static functions

2020-01-27 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Aug 13 04:47:22 2019 +0200| [8867efa85f1a3f2b6c039278cb9ef26a791eed7e] | committer: James Almer avformat/mux: Don't use av_ prefix for static functions Signed-off-by: Andreas Rheinhardt Reviewed-by: Paul B Mahol Signed-off-by: James Almer

[FFmpeg-cvslog] avformat/matroskaenc: Improve writing Projection

2020-01-27 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Jan 1 01:58:19 2020 +0100| [9c8aa86883f28fc27ca790b290c3be2d347b0d19] | committer: James Almer avformat/matroskaenc: Improve writing Projection The Matroska Projection master element has such a small maximum length that it can always

[FFmpeg-cvslog] avformat/matroskaenc: Remove useless AVIOContext

2020-01-27 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Jan 1 01:58:20 2020 +0100| [44be057380384ed8168d17571ffd2763506048e6] | committer: James Almer avformat/matroskaenc: Remove useless AVIOContext Write a few numbers directly via AV_WB32 instead of using an AVIOContext (that is initialized

[FFmpeg-cvslog] avformat/matroskaenc: Check functions that can fail

2020-02-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Jan 1 01:58:23 2020 +0100| [b4f300f8ea209b861865ef495b298a88b48f3913] | committer: Michael Niedermayer avformat/matroskaenc: Check functions that can fail Sometimes it has not been checked whether opening the dynamic buffer for writing Tags

[FFmpeg-cvslog] avformat/aviobuf: Remove AVIOInternal and one level of indirection

2020-01-30 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Jan 6 15:51:48 2020 +0100| [6e8e8431e15a58aa44cfdd8c11f9ea096837c0fa] | committer: Michael Niedermayer avformat/aviobuf: Remove AVIOInternal and one level of indirection In the Libav commit cae448cf, the opaque of every AVIOContext opened

[FFmpeg-cvslog] avcodec/cavsdsp: Fix undefined left shifts of negative numbers

2020-02-07 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Sep 28 04:26:00 2019 +0200| [0f0f2ab0c3b3d04e904db97b07ae829c72c91778] | committer: Michael Niedermayer avcodec/cavsdsp: Fix undefined left shifts of negative numbers Affected the ffmpeg-filter_colorkey FATE-test (but only if the C version

[FFmpeg-cvslog] avfilter/vf_paletteuse: Fix potential double-free of AVFrame

2020-02-08 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Jan 27 09:28:20 2020 +0100| [adea33f46513821c111c602a0692b78315688c1b] | committer: Michael Niedermayer avfilter/vf_paletteuse: Fix potential double-free of AVFrame apply_palette() would free an AVFrame given to it only via an AVFrame

[FFmpeg-cvslog] avcodec/cbs_av1_syntax_template: Remove unused variable

2020-01-24 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Nov 18 08:47:59 2019 +0100| [1ab302da6ef958f2344d2b6d88cc28f56c86b0a2] | committer: James Almer avcodec/cbs_av1_syntax_template: Remove unused variable Signed-off-by: Andreas Rheinhardt Signed-off-by: James Almer > http://git.videolan.

[FFmpeg-cvslog] avformat/mov: Don't leak MOVFragmentStreamInfo on error

2020-01-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Jan 27 09:28:19 2020 +0100| [43f58f2354bfab3819e44c1a97b0af75cc091226] | committer: Michael Niedermayer avformat/mov: Don't leak MOVFragmentStreamInfo on error Fixes Coverity issue #1441933. Signed-off-by: Andreas Rheinhardt Signed-off

[FFmpeg-cvslog] avformat/mov: Free encryption data on error

2020-01-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Jan 27 09:28:18 2020 +0100| [3999c4b374c2f3786137bd7e820dd1555fc20d90] | committer: Michael Niedermayer avformat/mov: Free encryption data on error Fixes memleak and Coverity issue #1439587. Signed-off-by: Andreas Rheinhardt Signed-off

[FFmpeg-cvslog] avfilter/asrc_sinc: Don't allocate arrays separately

2020-01-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Jan 27 07:00:48 2020 +0100| [ab39f0d841cfcc95dc99ef788e22554fe46eb1c8] | committer: Michael Niedermayer avfilter/asrc_sinc: Don't allocate arrays separately Besides the obvious advantages this also fixes a potential memleak: If only one

[FFmpeg-cvslog] avformat/wtvdec: Forward errors when reading packet

2020-02-19 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Feb 10 18:21:37 2020 +0100| [acbd950ed297fded711481a4059a83b085f888ae] | committer: Michael Niedermayer avformat/wtvdec: Forward errors when reading packet wtvfile_read_packet did not abide by the requirements of an AVIOContext's read_packet

[FFmpeg-cvslog] avcodec/cbs_mpeg2: Treat slices without data as invalid

2020-02-09 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Dec 9 23:26:04 2019 +0100| [ce920f47930d2a1df6628f026a926425f534e8d2] | committer: Michael Niedermayer avcodec/cbs_mpeg2: Treat slices without data as invalid They are spec-incompliant. Signed-off-by: Andreas Rheinhardt Signed-off

[FFmpeg-cvslog] avcodec/cbs: Fix potential double-free when adding unit fails

2020-02-09 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Nov 18 08:47:58 2019 +0100| [ac5d5046c8ef4988b36734effe42a2fae8547ce1] | committer: Mark Thompson avcodec/cbs: Fix potential double-free when adding unit fails ff_cbs_insert_unit_data() has two modes of operation: It can insert a unit

[FFmpeg-cvslog] avcodec/cbs_jpeg: Use memcpy when writing pictures

2020-02-09 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Nov 19 17:12:28 2019 +0100| [5ad1c1a18a38883c5811153d81ac149391429a4d] | committer: Mark Thompson avcodec/cbs_jpeg: Use memcpy when writing pictures This is possible because the size of a scan header is always a multiple of a byte. Signed

[FFmpeg-cvslog] fftools/ffprobe: Remove unneeded casts

2020-02-14 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Aug 6 03:17:06 2019 +0200| [c2c65d1d1f3f7c53cc9f8695b8256f3ff4264ac4] | committer: Michael Niedermayer fftools/ffprobe: Remove unneeded casts Signed-off-by: Andreas Rheinhardt Signed-off-by: Michael Niedermayer > http://git.videolan.

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

2020-02-22 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Jan 14 04:13:34 2020 +0100| [c790500644c9f09a68611dc79168c55b8dd11a05] | committer: Michael Niedermayer avformat/segafilmenc: Remove redundant checks If an audio stream is present, the Sega FILM muxer checks for its compability

[FFmpeg-cvslog] avcodec/dvdsub: Fix warning about incompatible pointer type

2020-02-14 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Feb 14 12:24:03 2020 +0100| [dc46b3c34e0651215a9357bcc0aba04e2bad9721] | committer: James Almer avcodec/dvdsub: Fix warning about incompatible pointer type Fixes "passing argument 2 of ‘strtoul’ from incompatible pointer type [-Wincompa

[FFmpeg-cvslog] avformat/utils: Fix memleaks in avformat_open_input()

2020-02-15 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Jan 7 14:55:47 2020 +0100| [e2307f4ff197646a7feee0edbcdd2d3262932676] | committer: Marton Balint avformat/utils: Fix memleaks in avformat_open_input() A demuxer might have allocated memory while reading the header. If reading the header

[FFmpeg-cvslog] fftools/ffmpeg: Integrate two checks

2020-02-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Oct 12 05:18:39 2019 +0200| [13dc90396d6d8eb70c583b94fb2978ed5a3f417c] | committer: Michael Niedermayer fftools/ffmpeg: Integrate two checks For audio packets with dts != AV_NOPTS_VALUEs the dts was converted twice to the muxer's timebase

[FFmpeg-cvslog] avcodec/avcodec: Nits

2020-02-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Dec 10 22:59:55 2019 +0100| [568d62117d7cb6df803cac267ea86d76730078ca] | committer: Michael Niedermayer avcodec/avcodec: Nits Signed-off-by: Andreas Rheinhardt Signed-off-by: Michael Niedermayer > http://git.videolan.org/gitweb.

[FFmpeg-cvslog] avformat/segafilmenc: Remove AVClass

2020-02-15 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Jan 14 04:13:33 2020 +0100| [7b7b418277fc36a864f7b8b449feacb39f2dbced] | committer: Michael Niedermayer avformat/segafilmenc: Remove AVClass This muxer does not have any private options and so does not need a private class. Signed-off

[FFmpeg-cvslog] avformat/matroskaenc: Fix ReferenceBlock timestamp

2020-01-11 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Jan 1 01:58:18 2020 +0100| [6a1bf8634acdd7112979b7e5ae6684e4acaf3339] | committer: James Almer avformat/matroskaenc: Fix ReferenceBlock timestamp In order to indicate that the frames in a BlockGroup are not keyframes, one has to add

[FFmpeg-cvslog] avformat/oggparsevorbis: Use AV_DICT_DONT_STRDUP_VAL to avoid av_strdup

2020-01-17 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Nov 11 02:12:58 2019 +0100| [5b7e90b252f765d677de6882bc65a362205638fa] | committer: Michael Niedermayer avformat/oggparsevorbis: Use AV_DICT_DONT_STRDUP_VAL to avoid av_strdup This will likely also fix CID 1452427, a false positive resulting

[FFmpeg-cvslog] avformat/movenc, segafilmenc: Remove unnecessary avio_tell()

2020-01-17 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Jan 16 05:49:14 2020 +0100| [61e0d71946f58e8864776d7495318103c0552754] | committer: Michael Niedermayer avformat/movenc, segafilmenc: Remove unnecessary avio_tell() When the faststart option for the mov/mp4 muxer is used, the current position

[FFmpeg-cvslog] avformat/flvenc: Avoid unnecessary seek

2020-01-17 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Jan 16 05:49:15 2020 +0100| [42df71d0c5df25958e6c53a61716961a94eb06cd] | committer: Michael Niedermayer avformat/flvenc: Avoid unnecessary seek When shifting the already written data in order to write the keyframe index, the flv muxer would

[FFmpeg-cvslog] avformat/avformat: Update AVInputFormat.read_packet documentation

2020-01-14 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Jan 7 14:55:39 2020 +0100| [b55c6b8c40e09a1a8076bbc8b4a804801bec530c] | committer: Michael Niedermayer avformat/avformat: Update AVInputFormat.read_packet documentation Since bae8844e351, the packet is automatically unreferenced

[FFmpeg-cvslog] avformat/segafilmenc: Postpone check for existence of video stream

2020-01-14 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Jan 14 04:13:31 2020 +0100| [30859c270fa5f14d9bb13382f86f90affc3a4c3e] | committer: Michael Niedermayer avformat/segafilmenc: Postpone check for existence of video stream Up until now, the Sega FILM muxer complained if the first stream wasn't

[FFmpeg-cvslog] avformat/segafilmenc: Fix undefined left shift of 1 by 31 places

2020-01-14 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Jan 14 04:13:30 2020 +0100| [8ae026d74f599b2d00b91798af1c1067a879007c] | committer: Michael Niedermayer avformat/segafilmenc: Fix undefined left shift of 1 by 31 places by changing the type to unsigned. Signed-off-by: Andreas Rheinhardt

[FFmpeg-cvslog] avformat/segafilmenc: Check early whether video is allowed

2020-01-14 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Jan 14 04:13:32 2020 +0100| [56a04b7c38e15b5a698ca15bc3e940f06777e315] | committer: Michael Niedermayer avformat/segafilmenc: Check early whether video is allowed The current code only checks when writing the trailer whether the video format

[FFmpeg-cvslog] avcodec/adpcm: Fix undefined left shifts of negative numbers

2020-01-21 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Jan 20 16:56:55 2020 +0100| [3ad8af51b7c0a968ac3fd62964780d4ff9136c5a] | committer: Michael Niedermayer avcodec/adpcm: Fix undefined left shifts of negative numbers Affected the adpcm-afc, adpcm-ea-1, adpcm-ea-2, adpcm-ea-maxis-xa, adpcm-thp

[FFmpeg-cvslog] avcodec/adxdec: Remove unnecessary left-shift

2020-01-21 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Jan 20 20:20:43 2020 +0100| [340e6b018596837db950e82b4d5232d993e23934] | committer: Michael Niedermayer avcodec/adxdec: Remove unnecessary left-shift Replace "(a * (1 << shift) * b + c) >> shift" by "a * b + (c &

[FFmpeg-cvslog] avcodec/adxenc: Avoid undefined left shift of negative numbers

2020-01-21 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Jan 20 20:20:42 2020 +0100| [59a9d65e0d790821f88527a82569f56eb2f8a9be] | committer: Michael Niedermayer avcodec/adxenc: Avoid undefined left shift of negative numbers Replace "((a << shift) + b) >> shift" by "a +

[FFmpeg-cvslog] avcodec/j2kenc: Fix undefined shifts of negative numbers

2020-01-21 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Jan 21 01:23:47 2020 +0100| [39b60359dbf7936eb1ef6a05b76ea7d821d115f5] | committer: Michael Niedermayer avcodec/j2kenc: Fix undefined shifts of negative numbers Also add parentheses to some lines to make the operator precedence clearer

[FFmpeg-cvslog] fate: Don't use depreceated keepside option

2020-01-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Dec 30 13:43:27 2019 +0100| [c4c96d5942ac48ff247be224363f5200198844a6] | committer: James Almer fate: Don't use depreceated keepside option The tests for concat use this option which is scheduled for removal and does nothing any more. So

[FFmpeg-cvslog] avformat/mov: Use AV_DICT_DONT_STRDUP_VAL to avoid av_strdup

2020-01-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Nov 10 05:07:33 2019 +0100| [ad1b0a12f34d57ed5bfb952ce67bce8f48b3ec0e] | committer: Michael Niedermayer avformat/mov: Use AV_DICT_DONT_STRDUP_VAL to avoid av_strdup This will likely also fix CID 1452574 and 1452565, false positives resulting

[FFmpeg-cvslog] avcodec/proresenc_anatoliy: Fix invalid left shift of negative number

2020-01-08 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Jan 8 19:29:13 2020 +0100| [198081efb7c7343349f0a7acc836f001c511e990] | committer: Michael Niedermayer avcodec/proresenc_anatoliy: Fix invalid left shift of negative number This fixes ticket #7997 as well as the vsynth*-prores_# FATE-tests

[FFmpeg-cvslog] avformat/utils: Remove redundant save+restore

2020-01-08 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Oct 8 07:41:15 2019 +0200| [94cdf82d53fe9be260dc6106634a9f9b218211bd] | committer: Michael Niedermayer avformat/utils: Remove redundant save+restore If the size of the input packet is zero, av_grow_packet() used to call av_new_packet() which

[FFmpeg-cvslog] avcodec/cbs: Factor out common code for writing units

2019-12-31 Thread Andreas Rheinhardt
ffmpeg | branch: release/4.2 | Andreas Rheinhardt | Sun Nov 17 08:34:35 2019 +0100| [1cf238d3bfefdfd3345ca262f57e08a798bb0d90] | committer: James Almer avcodec/cbs: Factor out common code for writing units All cbs-functions to write units share a common pattern: 1. They check whether

[FFmpeg-cvslog] cbs: Remove useless initializations

2019-12-31 Thread Andreas Rheinhardt
ffmpeg | branch: release/4.2 | Andreas Rheinhardt | Thu Jun 20 01:45:11 2019 +0200| [fd53f6745e1fd0741f5d9d3aa7d5484cfd98f8ed] | committer: James Almer cbs: Remove useless initializations Up until now, a temporary variable was used and initialized every time a value was read in CBS

[FFmpeg-cvslog] avcodec/cbs: Fix potential overflow

2019-12-31 Thread Andreas Rheinhardt
ffmpeg | branch: release/4.2 | Andreas Rheinhardt | Sun Nov 17 08:34:36 2019 +0100| [4667920455c0d52c25835ff81098254213f2d018] | committer: James Almer avcodec/cbs: Fix potential overflow The number of bits in a PutBitContext must fit into an int, yet nothing guaranteed the size argument

[FFmpeg-cvslog] cbs_mpeg2: Rearrange start code search

2019-12-31 Thread Andreas Rheinhardt
ffmpeg | branch: release/4.2 | Andreas Rheinhardt | Mon Jul 29 21:56:55 2019 +0200| [c1fb94fcacf3208ea8396953351a00af56e3f336] | committer: James Almer cbs_mpeg2: Rearrange start code search 1. Currently, cbs_mpeg2_split_fragment uses essentially three variables to hold the start code values

[FFmpeg-cvslog] cbs_mpeg2: Fix parsing of picture and slice headers

2019-12-31 Thread Andreas Rheinhardt
ffmpeg | branch: release/4.2 | Andreas Rheinhardt | Thu Jun 20 01:45:12 2019 +0200| [9db961861aeca15feacb5a711aa5c5f2676ce6e2] | committer: James Almer cbs_mpeg2: Fix parsing of picture and slice headers 1. The extra information in slice headers was parsed incorrectly: In the first reading

[FFmpeg-cvslog] mpeg2_metadata, cbs_mpeg2: Fix handling of colour_description

2019-12-31 Thread Andreas Rheinhardt
ffmpeg | branch: release/4.2 | Andreas Rheinhardt | Thu Jun 20 01:45:10 2019 +0200| [4bc84f4f7deb12190998d898c84b7cbc5002ce8c] | committer: James Almer mpeg2_metadata, cbs_mpeg2: Fix handling of colour_description If a sequence display extension is read with colour_description equal to zero

[FFmpeg-cvslog] cbs_mpeg2: Fix parsing the last unit

2019-12-31 Thread Andreas Rheinhardt
ffmpeg | branch: release/4.2 | Andreas Rheinhardt | Mon Jul 29 21:56:56 2019 +0200| [14644e33226bf7f280da2bffd387b9fe26572d22] | committer: James Almer cbs_mpeg2: Fix parsing the last unit There is one way to find out if avpriv_find_start_code has found a start code or not: One has to check

[FFmpeg-cvslog] cbs_mpeg2: Decompose Sequence End

2019-12-31 Thread Andreas Rheinhardt
ffmpeg | branch: release/4.2 | Andreas Rheinhardt | Mon Jul 29 21:56:54 2019 +0200| [2852aa50842dae99fc1f2988e256fef1052e7b57] | committer: James Almer cbs_mpeg2: Decompose Sequence End Sequence End units (or actually, sequence_end_codes) have up until now not been decomposed; in fact due

[FFmpeg-cvslog] avformat/matroskaenc: Check return value of ff_isom_write_hvcc()

2020-01-01 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Jan 1 01:58:22 2020 +0100| [34e3810b04cadf4ccb0d96b9d36a9daf45179c05] | committer: Michael Niedermayer avformat/matroskaenc: Check return value of ff_isom_write_hvcc() The Matroska muxer currently does not check the return value

[FFmpeg-cvslog] avformat/mpeg: Remove secondary packet for reading VobSub

2020-01-01 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Oct 8 07:41:14 2019 +0200| [6d354aeb29d257ae64ad6a055d210dd6b191d5bc] | committer: Michael Niedermayer avformat/mpeg: Remove secondary packet for reading VobSub When vobsub_read_packet() reads a packet, it uses a dedicated AVPacket to get

[FFmpeg-cvslog] avformat/matroskaenc: Adapt documentation of put_ebml_num

2020-01-01 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Jan 1 01:58:21 2020 +0100| [2968da7d9e9054e97597c6b7b7b42e9ea453563e] | committer: Michael Niedermayer avformat/matroskaenc: Adapt documentation of put_ebml_num to its actual behaviour: That it uses the least amount of bytes unless

[FFmpeg-cvslog] avformat/matroskadec: Use AV_DICT_DONT_STRDUP_VAL to save av_strdup

2020-01-01 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Nov 10 05:07:31 2019 +0100| [40d9cbdc22340572ea5ebe5fe77c73eafafabef8] | committer: Michael Niedermayer avformat/matroskadec: Use AV_DICT_DONT_STRDUP_VAL to save av_strdup This will likely also fix CID 1452562, a false positive resulting from

[FFmpeg-cvslog] avformat/wavenc: Add deinit function

2019-12-26 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Dec 26 11:53:27 2019 +0100| [a94e6b50c663f569ae635d0972aa103eafd56243] | committer: Michael Niedermayer avformat/wavenc: Add deinit function Signed-off-by: Andreas Rheinhardt Signed-off-by: Michael Niedermayer > http://git.videolan.

[FFmpeg-cvslog] avformat/flvenc: Fix leak of oversized packets

2019-12-26 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Dec 26 11:53:35 2019 +0100| [b0d0d7e4d0581ccfeea37cc3fd0d3ca9d999fbfc] | committer: Michael Niedermayer avformat/flvenc: Fix leak of oversized packets Might happen for annex B H.264. Signed-off-by: Andreas Rheinhardt Signed-off-by: Michael

[FFmpeg-cvslog] avformat/flvenc: Forward errors from allocating keyframe index

2019-12-26 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Dec 26 11:53:34 2019 +0100| [28d02524a04d401fa7fca9823e3b7261a25613ab] | committer: Michael Niedermayer avformat/flvenc: Forward errors from allocating keyframe index While the function adding a new element to the keyframe index checked

[FFmpeg-cvslog] avformat/spdifenc: Replace write_trailer by deinit

2019-12-26 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Dec 26 11:53:26 2019 +0100| [827bdc841888cfc347e89704075589fff3a3c9aa] | committer: Michael Niedermayer avformat/spdifenc: Replace write_trailer by deinit The write_trailer function doesn't write anything anyway. It only frees memory. Signed

[FFmpeg-cvslog] avformat/hlsenc: Fix leak of options when initializing muxing fails

2019-12-22 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Dec 16 01:04:06 2019 +0100| [9e4b3ccbb62c29eb1f95af485ec6f0d1e0e4109a] | committer: Steven Liu avformat/hlsenc: Fix leak of options when initializing muxing fails hls_mux_init() currently leaks an AVDictionary if opening a dynamic buffer

[FFmpeg-cvslog] avformat/hlsenc: Only allocate when data is known to be needed

2019-12-22 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Dec 16 01:04:05 2019 +0100| [ae84305036ceced3813fb295b71d51343ffd9535] | committer: Steven Liu avformat/hlsenc: Only allocate when data is known to be needed hls_init() would allocate a buffer, although it is only needed in one of two

[FFmpeg-cvslog] avformat/hlsenc: Fix leak of child AVFormatContext

2019-12-22 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Dec 16 01:04:03 2019 +0100| [7d6637bcc4bb6d1d554e910a4afd6cf6711f8862] | committer: Steven Liu avformat/hlsenc: Fix leak of child AVFormatContext Before ed897633, the hls muxer would free its child AVFormatContexts and reset the pointer

[FFmpeg-cvslog] avformat/hlsenc: Fix return value from localtime_r failure

2019-12-22 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Dec 16 01:04:12 2019 +0100| [53c1458bf2e91b2279985e5fc2ffaa5e2013564a] | committer: Steven Liu avformat/hlsenc: Fix return value from localtime_r failure "If an error is detected, localtime_r() shall return a null pointer and set

[FFmpeg-cvslog] avformat/hlsenc: Fix leak of options when writing packets

2019-12-22 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Dec 16 01:04:07 2019 +0100| [bd131b64bc308ab036d0bbe9da0a49f482ef94f9] | committer: Steven Liu avformat/hlsenc: Fix leak of options when writing packets Under certain circumstances hls_write_packet() would add options to an AVDictionary. Said

[FFmpeg-cvslog] avformat/hlsenc: Fix check for presence of webvtt muxer

2019-12-22 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Dec 16 01:04:15 2019 +0100| [74a8be3546c54e109ca16639f9863a6cdcd9aead] | committer: Steven Liu avformat/hlsenc: Fix check for presence of webvtt muxer Signed-off-by: Andreas Rheinhardt Reviewed-by: Steven Liu > http://git.videolan.

[FFmpeg-cvslog] avformat/hlsenc: Fix memleaks with repeating parameters

2019-12-22 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Dec 16 01:04:13 2019 +0100| [5ba3a8958c76d5490bcc9ba4441f03bedd9aebc6] | committer: Steven Liu avformat/hlsenc: Fix memleaks with repeating parameters When a parameter like e.g. language is contained more than once in the part

[FFmpeg-cvslog] avformat/hlsenc: Fix potential segfault upon allocation failure

2019-12-22 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Dec 16 01:04:09 2019 +0100| [149ee954a32334902a20c6a1b58ac5fe91114ff6] | committer: Steven Liu avformat/hlsenc: Fix potential segfault upon allocation failure The hls muxer allocates an array of VariantStreams, a structure that contains

[FFmpeg-cvslog] avformat/hlsenc: Fix typo in error message

2019-12-22 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Dec 16 01:04:04 2019 +0100| [728c44b8613fdd2f75391b6575df4e9d47c24c63] | committer: Steven Liu avformat/hlsenc: Fix typo in error message Signed-off-by: Andreas Rheinhardt Reviewed-by: Steven Liu > http://git.videolan.org/gitweb.

<    1   2   3   4   5   6   7   8   9   10   >