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

  • swscale/tests/swscale : Fix potential buffer overflow

    18 mars, par Andreas Rheinhardt
    swscale/tests/swscale: Fix potential buffer overflow
    
    The field width in a %s directive gives the amount of characters
    to read from the input and not the size of the receiving buffer;
    the latter must be of course also have space for the trailing \0
    which has been forgotten here. The commit adds it (and fixes a
    -Wfortify-source warning from Clang).
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libswscale/tests/swscale.c
  • avcodec/webvttdec : update documentation

    18 mars, par Leon Grutters
    avcodec/webvttdec: update documentation
    
    The previous link lead to a 404 page as that page doesn't exist anymore.
    
    Signed-off-by: Leon Grutters <gruttersleonbot2@gmail.com>
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/webvttdec.c
  • avutil/csp : Improve enum range comparisons

    18 mars, par Andreas Rheinhardt
    avutil/csp: Improve enum range comparisons
    
    The underlying integer type of an enumeration is
    implementation-defined (see C11, 6.7.2.2 (4)); GCC defaults
    to unsigned if there are no negative values like for all enums
    from pixfmt.h except enum AVPixelFormat.
    
    This means that tests like "if (csp >= AVCOL_SPC_NB)" for
    invalid colorspaces need not work as expected (namely if
    enum AVColorSpace is signed). It also means that testing
    for such an enum variable to be >= 0 may be tautologically
    true. Clang emits a -Wtautological-unsigned-enum-zero-compare
    warning for this.
    
    Fix both of these issues by casting to unsigned.
    Also do the same in libswscale/format.c.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavutil/csp.c
    • [DH] libswscale/format.c
  • configure : improve ar test for response files

    18 mars, par Gyan Doshi
    configure: improve ar test for response files
    
    • [DH] configure
  • avformat/mov : generalize sgpd_sync index lookup

    18 mars, par Zhao Zhili
    avformat/mov: generalize sgpd_sync index lookup
    
    The function has a nal_unit_type parameter but unused before.
    
    Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
    
    • [DH] libavformat/mov.c