Backport of "flacenc: Pass audio info from set_format() to query_total_samples() explicitly" into 1.14
Backport of !661 (merged) "flacenc: Pass audio info from set_format() to query_total_samples() explicitly".
Commits:
- c194390c flacenc: Pass audio info from set_format() to query_total_samples() explicitly