Skip to content
  • Wim Taymans's avatar
    videodecoder: avoid crash when getting duration · c68683c1
    Wim Taymans authored
    Check that we have a valid output_state before attempting to use it to calculate
    the duration of a buffer. It is possible that we don't have a state yet, for
    example when we are dropping the first buffers.
    c68683c1