• michael's avatar
    Make av_fifo*_read() ignore the available amount of data. · 80f077ba
    michael authored
    This is more efficient as in practice the check is redundant most of the
    time. Callers which do not know if enough data is available have to check
    it with av_fifo_size(). Doing the check in *read() means the caller has
    no choice to skip the check when its known to be redundant.
    Also the return value was never documented in a public header so
    changing it should not break the API. Besides this fixes the case where
    read() failed on a 100% full fifo.
    
    
    git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13404 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
    80f077ba
mpegenc.c 41.5 KB