This reverts commit eb88ccb92e. AVCodecContext fields are the proper place for a decoder to export such values. This change is in preparation for the following commits.
eb88ccb92e