• Anton Khirnov's avatar
    lavf: use AV_CODEC_PROP_FIELDS where appropriate · e930b834
    Anton Khirnov authored
    H.264 and mpeg12 parsers need to be adjusted at the same time to stop
    using the value of AVCodecContext.ticks_per_frame, because it is not set
    correctly unless the codec has been opened. Previously this would result
    in both the parser and lavf seeing the same incorrect value, which would
    cancel out.
    Updating lavf and not the parsers would result in correct value in lavf,
    but the wrong one in parsers, which would break some tests.
    e930b834
internal.h 21.4 KB