Skip to content
  • Vincent Penquerc'h's avatar
    avaudenc: avoid using wrong number of samples · 17e2e9ac
    Vincent Penquerc'h authored
    If audio_in is NULL, we'll send a NULL frame to libav, to flush
    the codec. In that case, we won't know how many samples the codec
    will have used, so we use -1 (for don't know) when letting the
    base class know about the buffer.
    
    Coverity 1195177
    17e2e9ac