I'd like to determine the number of reference frames used in encoding a h.264 file using libavcodec. I've been able to determine most of the other information I'm looking for programmatically but so far can't locate this one item.
Any help much appreciated.