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

  • avfilter/vf_libplacebo : don't explode on zero FPS information

    17 mars, par Niklas Haas
    avfilter/vf_libplacebo: don't explode on zero FPS information
    
    While technically not specifiad as valid by the AVFilterLink documentation,
    it is currently possible to get an FPS of zero from various sources inside
    libavfilter (notably vf_buffersrc).
    
    Avoid a division by zero and resulting infinity when this happens.
    
    • [DH] libavfilter/vf_libplacebo.c
  • avcodec/proresenc_kostya : Don't cast const away needlessly

    17 mars, par Andreas Rheinhardt
    avcodec/proresenc_kostya: Don't cast const away needlessly
    
    The parameter passed here is unused, so just pass NULL.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/proresenc_kostya.c
  • avcodec/svq1enc : Don't add to NULL

    17 mars, par Andreas Rheinhardt
    avcodec/svq1enc: Don't add to NULL
    
    It is undefined behavior. Pass a dummy buffer instead.
    Fixes "runtime error: applying non-zero offset 1024 to null pointer".
    affected the SVQ1 vsynth FATE tests.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/svq1enc.c
  • avcodec/snow : Don't add to NULL

    17 mars, par Andreas Rheinhardt
    avcodec/snow: Don't add to NULL
    
    It is undefined behavior.
    Fixes "runtime error: applying non-zero offset 8 to null pointer".
    Fixes the Snow vsynth FATE-tests.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/snow.h
  • avcodec/h261enc : Don't use (size_t)-1

    17 mars, par Andreas Rheinhardt
    avcodec/h261enc: Don't use (size_t)-1
    
    Fixes "runtime error: addition of unsigned offset to 0x765a09523a90
    overflowed to 0x765a09523a8e". This fixes all H.261 tests when run
    under UBsan.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/h261enc.c