[FFmpeg-cvslog] avformat/aviobuf: fix double free by return early on error

2021-12-15 Thread Steven Liu
ffmpeg | branch: master | Steven Liu | Wed Dec 1 11:19:47 2021 +0800| [3f46ffe956a563a975b65fcb0bcf131fd30956ff] | committer: Steven Liu avformat/aviobuf: fix double free by return early on error Because the s->buffer has been freed by av_freep in avio_closep. It should not av_freep the buffe

[FFmpeg-cvslog] avformat/moflex: Free AVPackets via av_packet_free() on error

2021-12-15 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Dec 12 15:32:14 2021 +0100| [0a25abdacd8a4dd4836cf1584ccab47204813ed2] | committer: Andreas Rheinhardt avformat/moflex: Free AVPackets via av_packet_free() on error (This is not a leak as long as av_free() completely frees blank packets.) Sig

[FFmpeg-cvslog] avformat/moflex: Don't use uninitialized timebase for data stream

2021-12-15 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Dec 12 16:02:22 2021 +0100| [38e5ca9310b1a4dbb72fbe28769c9119bb880691] | committer: Andreas Rheinhardt avformat/moflex: Don't use uninitialized timebase for data stream Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/f

[FFmpeg-cvslog] avcodec/speedhq: Replace always-true check by assert

2021-12-15 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Dec 12 15:10:10 2021 +0100| [7a5f7caee9ebd58a025bd804e89f33de9f217b2a] | committer: Andreas Rheinhardt avcodec/speedhq: Replace always-true check by assert Should fix Coverity tickets #1473572 and #1473504. Signed-off-by: Andreas Rheinhardt

[FFmpeg-cvslog] avcodec/decode: Reset *got_sub_ptr on error

2021-12-15 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Dec 10 23:20:57 2021 +0100| [8ff3fbf6bca0ee897e458fc27e5f967cdcbc16c7] | committer: Andreas Rheinhardt avcodec/decode: Reset *got_sub_ptr on error Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=

[FFmpeg-cvslog] avcodec/xsubdec: Use dedicated pointer for AVSubtitleRect

2021-12-15 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Dec 10 22:54:45 2021 +0100| [6e02ca35e574c344ccdb3be9fd8817af50efabd1] | committer: Andreas Rheinhardt avcodec/xsubdec: Use dedicated pointer for AVSubtitleRect Improves readability and slightly reduces codesize. Signed-off-by: Andreas Rheinh

[FFmpeg-cvslog] avcodec/xsubdec: Cleanup generically upon allocation error

2021-12-15 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Dec 10 22:44:13 2021 +0100| [077167fab9067c606c374e0fd26930f78465387b] | committer: Andreas Rheinhardt avcodec/xsubdec: Cleanup generically upon allocation error This is possible by incrementing the counter of allocated rects directly after sa

[FFmpeg-cvslog] avcodec/decode: Fix leaks upon subtitle decoding errors

2021-12-15 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Dec 10 22:05:20 2021 +0100| [cee04cbfe1bf77db5a5bb4ade786573f08a586fc] | committer: Andreas Rheinhardt avcodec/decode: Fix leaks upon subtitle decoding errors Up until now, various subtitle decoders have not cleaned up the AVSubtitle on error;

[FFmpeg-cvslog] avcodec/pgssubdec: Use dedicated pointer for accesses

2021-12-15 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Dec 11 18:16:45 2021 +0100| [d59f454ed2ba4cc89533a84d727eef9aaaed635d] | committer: Andreas Rheinhardt avcodec/pgssubdec: Use dedicated pointer for accesses Improves readability and decreases codesize. Signed-off-by: Andreas Rheinhardt > ht

[FFmpeg-cvslog] avcodec/ass: Fix leaks upon ff_ass_add_rect() error

2021-12-15 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Dec 10 22:42:24 2021 +0100| [2adbb0c2af2cc42a25ab58ef0d4837245f0fbf62] | committer: Andreas Rheinhardt avcodec/ass: Fix leaks upon ff_ass_add_rect() error Do this by actually incrementing the counter for the number of rects at the right time.

[FFmpeg-cvslog] avcodec/pgssubdec: Remove redundant freeing code

2021-12-15 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Dec 10 21:02:47 2021 +0100| [58228ab9b91a6a6e418fd38942aa84b6fffa7df9] | committer: Andreas Rheinhardt avcodec/pgssubdec: Remove redundant freeing code The caller of display_end_segment() frees the AVSubtitle on error in case ENOMEM is returne

[FFmpeg-cvslog] avformat/demux: Remove redundant prevention against infinite loop

2021-12-15 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Dec 9 18:39:47 2021 +0100| [97e26937b46323fc85480d32123d5d4f1fcd7832] | committer: Andreas Rheinhardt avformat/demux: Remove redundant prevention against infinite loop This piece of code has been added as FFmpeg's answer to infinite loops in

[FFmpeg-cvslog] avcodec/pgssubdec: Always return error upon allocation error

2021-12-15 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Dec 10 16:10:06 2021 +0100| [200a3728373fbc74cbfdfcbb3d2152cf21d17034] | committer: Andreas Rheinhardt avcodec/pgssubdec: Always return error upon allocation error Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg

[FFmpeg-cvslog] avcodec/h2645_parse: Remove H2645NAL.rbsp_buffer

2021-12-15 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Dec 11 15:24:00 2021 +0100| [c22a9ece2e7d823507b81e7fe7789545f01e7c88] | committer: Andreas Rheinhardt avcodec/h2645_parse: Remove H2645NAL.rbsp_buffer Forgotten in 03b82b3ab9883cef017e513c7d0b3b986b3b3e7b. (Moving data to the front is only d

[FFmpeg-cvslog] avcodec/h2645_parse: Move ref_idc further up in H2645NAL

2021-12-15 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Dec 11 15:35:03 2021 +0100| [aba4a4f080b2c0aa96409f93f455f9870fabbe2d] | committer: Andreas Rheinhardt avcodec/h2645_parse: Move ref_idc further up in H2645NAL This puts it directly near the NALU type which is more natural and furthermore redu

[FFmpeg-cvslog] avformat/demux: Remove fake-loop

2021-12-15 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Dec 9 17:14:50 2021 +0100| [52a4d4404409af79ae0f5ed32d78386d43b19c84] | committer: Andreas Rheinhardt avformat/demux: Remove fake-loop When flushing, try_decode_frame() itself loops until the desired properties have been found or the decoder

[FFmpeg-cvslog] libswscale: Adds ff_hscale8to15_4_avx2 and ff_hscale8to15_X4_avx2 for all filter sizes.

2021-12-15 Thread Alan Kelly
ffmpeg | branch: master | Alan Kelly | Wed Dec 15 10:35:02 2021 +0100| [f900a19fa94b1a55b660ec2e5c13419d59754bc0] | committer: James Almer libswscale: Adds ff_hscale8to15_4_avx2 and ff_hscale8to15_X4_avx2 for all filter sizes. Fixes so that fate under 64 bit Windows passes. These functions r

[FFmpeg-cvslog] vf_libplacebo: switch to newer libplacebo helpers

2021-12-15 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Tue Dec 14 14:43:33 2021 +0100| [5317a6366f23f725007a06e695126232173417ab] | committer: Lynne vf_libplacebo: switch to newer libplacebo helpers Support for mapping/unmapping hardware frames has been added into libplacebo itself, so we can scrap this code

[FFmpeg-cvslog] lavfi/vf_libplacebo: update deprecated option name

2021-12-15 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Wed Dec 15 22:32:15 2021 +0100| [e9ba40c5c9a49bc97d16d66c46ff993fa84a6c31] | committer: Lynne lavfi/vf_libplacebo: update deprecated option name This was renamed upstream quite a while ago (v3.112.0). Rename the option name as well for consistency (and ex

[FFmpeg-cvslog] avcodec: [loongarch] Optimize pred16x16_plane with LASX.

2021-12-15 Thread Hao Chen
ffmpeg | branch: master | Hao Chen | Wed Dec 15 11:51:10 2021 +0800| [df46d7cb49ce301d83c1d20cfc4ef47390d47691] | committer: Michael Niedermayer avcodec: [loongarch] Optimize pred16x16_plane with LASX. ./ffmpeg -i ../1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -y /dev/null -an before:295 after :2

[FFmpeg-cvslog] avcodec: [loongarch] Optimize h264_deblock with LASX.

2021-12-15 Thread Jin Bo
ffmpeg | branch: master | Jin Bo | Wed Dec 15 11:51:09 2021 +0800| [1ccc45896096b39b9a0d5650618d384df30d15e4] | committer: Michael Niedermayer avcodec: [loongarch] Optimize h264_deblock with LASX. ./ffmpeg -i ../1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -y /dev/null -an before:293 after :295 C

[FFmpeg-cvslog] avcodec: [loongarch] Optimize h264idct with LASX.

2021-12-15 Thread Lu Wang
ffmpeg | branch: master | Lu Wang | Wed Dec 15 11:51:08 2021 +0800| [5ff58b77bb1f44a2074967cb0e0b7db3b437df10] | committer: Michael Niedermayer avcodec: [loongarch] Optimize h264idct with LASX. ./ffmpeg -i ../1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -y /dev/null -an before:282 after :293 Chan

[FFmpeg-cvslog] avcodec: [loongarch] Optimize h264dsp with LASX.

2021-12-15 Thread gxw
ffmpeg | branch: master | gxw | Wed Dec 15 11:51:07 2021 +0800| [3f294ec8799390af0bfc6916c312e5b1e0035c10] | committer: Michael Niedermayer avcodec: [loongarch] Optimize h264dsp with LASX. ./ffmpeg -i ../1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -y /dev/null -an before:225 after :282 Change-Id

[FFmpeg-cvslog] avutil: [loongarch] Add support for loongarch SIMD.

2021-12-15 Thread Shiyou Yin
ffmpeg | branch: master | Shiyou Yin | Wed Dec 15 11:51:04 2021 +0800| [9a840ffa176038d44e0197283590f891b2cf9eeb] | committer: Michael Niedermayer avutil: [loongarch] Add support for loongarch SIMD. LSX and LASX is loongarch SIMD extention. They are enabled by default if compiler support it, a

[FFmpeg-cvslog] avcodec: [loongarch] Optimize h264qpel with LASX.

2021-12-15 Thread Shiyou Yin
ffmpeg | branch: master | Shiyou Yin | Wed Dec 15 11:51:06 2021 +0800| [cba7c0267dad3963ff52f146012dd99fd5b55c2c] | committer: Michael Niedermayer avcodec: [loongarch] Optimize h264qpel with LASX. ./ffmpeg -i ../1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -y /dev/null -an before:183 after :225 C