git.videolan.org Git - ffmpeg.git/rss log

FFmpeg git repo

http://git.videolan.org/?p=ffmpeg.git;a=summary

Les articles publiés sur le site

  • avcodec/get_bits : Remove GetBitContext.buffer_end

    4 juillet, par Andreas Rheinhardt
    avcodec/get_bits: Remove GetBitContext.buffer_end
    
    It is unused. Furthermore, this automatically fixes the issue
    that init_get_bits() failure would lead to NULL + 0 (when
    setting buffer_end) which is UB before C23. This happened
    in the fic-avi and fic-avi-skip_cursor FATE-tests.
    
    This saved 7296B of .text here.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/get_bits.h
  • avcodec/get_bits : Add get_bits_bytesize()

    4 juillet, par Andreas Rheinhardt
    avcodec/get_bits: Add get_bits_bytesize()
    
    And use it to avoid accesses to GetBitContext.buffer_end.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/bitstream.h
    • [DH] libavcodec/bitstream_template.h
    • [DH] libavcodec/get_bits.h
    • [DH] libavcodec/h263dec.c
    • [DH] libavcodec/h264_ps.c
    • [DH] libavcodec/hevc/hevcdec.c
    • [DH] libavcodec/hevc/ps.c
    • [DH] libavcodec/mpeg12dec.c
  • avcodec/vvc/dec : Don't use GetBit-API when byte-aligned

    4 juillet, par Andreas Rheinhardt
    avcodec/vvc/dec: Don't use GetBit-API when byte-aligned
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/vvc/dec.c
  • avcodec/bytestream : Add const where appropriate

    4 juillet, par Andreas Rheinhardt
    avcodec/bytestream: Add const where appropriate
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/bytestream.h
  • avcodec/opus/dec : Simplify resetting AVAudioFifo

    4 juillet, par Andreas Rheinhardt
    avcodec/opus/dec: Simplify resetting AVAudioFifo
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/opus/dec.c