Mapping byte sequence of FFmpeg API structures

The structure is probably using a byte alignment other than 1. For example, with an 8-byte alignment (on a 64 bit target) the bit_rate member should appear at offset 32 (as in your hex dump) instead of offset 24 as you might expect from adding up the struct members.

1 Like