avcodec: fix discrepancy between documentation and code