demux: avi: use samples_from_vlc_tick() to get a duration in bytes
If the duration is less than 1s the previous algorithm would give 0 bytes.
If the duration is less than 1s the previous algorithm would give 0 bytes.
VideoLAN code repository instance