• James Almer's avatar
    Revert "avcodec/decode: use a packet list to store packet properties" · b1fdb0b3
    James Almer authored
    The idea behind last_pkt_props was to store the properties of the last packet
    fed to the decoder. Any sort of queueing required by CODEC_CAP_DELAY decoders
    that consume several packets before they start outputting frames should be done
    by the decoders in question. An example of this is libdav1d.
    
    This is required for the following commits that will fix last_pkt_props in
    frame threading scenarios, as well as maintain its contents during flush.
    
    This revers commit 022a12b3.
    Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
    b1fdb0b3
internal.h 7.25 KB