• Anton Khirnov's avatar
    lavf: move the packet keyframe setting code. · 655b24c0
    Anton Khirnov authored
    compute_pkt_fields() is for unreliable estimates or guessing. The
    keyframe information from the parser is (at least in theory) reliable,
    so it should be used even when the other guessing is disabled with the
    AVFMT_FLAG_NOFILLIN flag.
    
    Therefore, move setting the packet keyframe flag based on parser
    information from compute_pkt_fields() to read_frame_internal().
    655b24c0
utils.c 127 KB