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/av1dec : Always set ret before goto end

    2 mai, par Andreas Rheinhardt
    avcodec/av1dec: Always set ret before goto end
    
    Before 0f8763fbea4e8816cd54c2a481d4c048fec58394, av1_frame_ref()
    and update_reference_list() could fail and therefore needed to
    be checked, which incidentally set ret. This is no longer happening,
    leading to a potential use of an uninitialized value which is
    also the subject of Coverity ticket #1596605.
    
    Fix this by always setting ret before goto end; do not return
    some random ancient value.
    
    Reviewed-by: James Almer <jamrial@gmail.com>
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] libavcodec/av1dec.c
  • avcodec/avs3_parser : assert the return value of init_get_bits()

    1er mai, par Michael Niedermayer
    avcodec/avs3_parser: assert the return value of init_get_bits()
    
    Fixes: CID1492867 Unchecked return value
    
    Sponsored-by: Sovereign Tech Fund
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
    
    • [DH] libavcodec/avs3_parser.c
  • configure : handle xargs versions that exec empty commands

    1er mai, par Timo Rothenpieler
    configure: handle xargs versions that exec empty commands
    
    Some versions of xargs don't run any commands if no input is given,
    others do run it at least once, causing errors.
    Pass -r to xargs to avoid that behaviour and never run empty commands.
    
    • [DH] configure
  • avcodec/avcodec : free decoded_side_data in ff_codec_close()

    1er mai, par James Almer
    avcodec/avcodec: free decoded_side_data in ff_codec_close()
    
    It's set by the library when decoding, so it should be freed when closing the
    context.
    
    Signed-off-by: James Almer <jamrial@gmail.com>
    
    • [DH] libavcodec/avcodec.c
    • [DH] libavcodec/options.c
  • avcodec/avs2_parser : Assert init_get_bits8() success with const size 15

    1er mai, par Michael Niedermayer
    avcodec/avs2_parser: Assert init_get_bits8() success with const size 15
    
    Fixes: CID1506708 Unchecked return value
    
    Sponsored-by: Sovereign Tech Fund
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
    
    • [DH] libavcodec/avs2_parser.c