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

  • fftools/ffmpeg_dec : Always receive frames from decoder

    5 mai, par Andreas Rheinhardt
    fftools/ffmpeg_dec: Always receive frames from decoder
    
    Up until now if avcodec_send_packet() returned an error,
    no attempt to receive a frame from the decoder would be made.
    Instead the decoder was presumed to be drained, so that more
    packets could be sent to it. Yet this need not be so:
    It can happen that a packet would decode to multiple frames
    and that decoding the first of these (the one that is decoded
    during the avcodec_send_packet() call) returns an error,
    in which case the decoder is not yet ready to receive more
    input as the remaining parts of the packet have not been decoded
    yet. In this case, an AERROR_BUG is triggered.
    
    This happens in ticket #11553 with VP9 (which uses a BSF
    to split VP9 superframes and is therefore affected by this).
    
    Fix this by always calling avcodec_receive_frame() unless
    xerror is set.
    
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
    
    • [DH] fftools/ffmpeg_dec.c
  • postproc/tests/.gitignore : Add temptest

    4 mai, par Michael Niedermayer
    postproc/tests/.gitignore: Add temptest
    
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
    
    • [DH] libpostproc/tests/.gitignore
  • libpostproc/tests : Factor ff_chksum() out

    4 mai, par Michael Niedermayer
    libpostproc/tests: Factor ff_chksum() out
    
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
    
    • [DH] libpostproc/Makefile
    • [DH] libpostproc/tests/blocktest.c
    • [DH] libpostproc/tests/stripetest.c
    • [DH] libpostproc/tests/temptest.c
    • [DH] libpostproc/tests/test_utils.c
    • [DH] libpostproc/tests/test_utils.h
  • avcodec/apv_decode : build the lut table only once

    4 mai, par James Almer
    avcodec/apv_decode: build the lut table only once
    
    No reason to build the exact same table once per decoding thread.
    
    Reviewed-by: Mark Thompson <sw@jkqxz.net>
    Signed-off-by: James Almer <jamrial@gmail.com>
    
    • [DH] libavcodec/apv_decode.c
  • cbs_apv : Check tile component sizes

    3 mai, par Mark Thompson
    cbs_apv: Check tile component sizes
    
    It was possible for the buffer pointers for the last tile to go over the
    end of the unit buffer leading to a read overflow during decode of the
    macroblock layer.  Check all tile component sizes to prevent this case
    and also catch related tile size mismatch errors earlier.
    
    • [DH] libavcodec/cbs_apv_syntax_template.c