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/vorbisenc : fix leak if av_mallocz failed

    27 juin, par Lidong Yan
    avcodec/vorbisenc: fix leak if av_mallocz failed
    
    In put_main_header(), av_mallocz() allocates memory to local variable
    buffer, buffer leaks if av_mallocz() to *out failed. Add av_free(buffer)
    before return error code.
    
    Signed-off-by: Lidong Yan <502024330056@smail.nju.edu.cn>
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
    
    • [DH] libavcodec/vorbisenc.c
  • avcodec/vvc/refs : remove early return

    26 juin, par Marvin Scholz
    avcodec/vvc/refs: remove early return
    
    The ret value is checked later on again, so this check
    is redundant and would cause the frame to not be unrefd on
    failure as well.
    
    So remove this check and add one before av_frame_remove_side_data
    to ensure it is not called with an invalid frame.
    
    Fix CID 1648350
    
    Reviewed-by: Frank Plowman <post@frankplowman.com>
    
    • [DH] libavcodec/vvc/refs.c
  • fftools/textformat : remove unreachable code in tf_mermaid

    26 juin, par Marvin Scholz
    fftools/textformat: remove unreachable code in tf_mermaid
    
    Integer writing is impossible here as the first branch was dead code,
    so remove it completely.
    
    Fix CID 1646948
    
    Reviewed-by: softworkz <softworkz@hotmail.com>
    
    • [DH] fftools/textformat/tf_mermaid.c
  • fftools/textformat : remove leftover comments in mermaid_print_value

    26 juin, par Marvin Scholz
    fftools/textformat: remove leftover comments in mermaid_print_value
    
    Remove some leftover commented code and an extraneous semicolon.
    
    Reviewed-by: softworkz <softworkz@hotmail.com>
    
    • [DH] fftools/textformat/tf_mermaid.c
  • fftools/textformat : exit early in mermaid_print_value

    26 juin, par Marvin Scholz
    fftools/textformat: exit early in mermaid_print_value
    
    Doesn't change the logic, instead of exiting in each of the two
    branches below, just exit before.
    
    Reviewed-by: softworkz <softworkz@hotmail.com>
    
    • [DH] fftools/textformat/tf_mermaid.c