diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2016-03-05 11:22:11 +0100 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2016-03-31 21:20:39 +0100 |
commit | 5b4f8af2f1ac0595062dbb040db413633e9ef2fc (patch) | |
tree | c5866f97327c9d5ec2ca54dc36850a22477e3443 /libavcodec/avcodec.h | |
parent | 3fafde6cbe345d2f84cfe61b94d4a823990969b3 (diff) | |
download | ffmpeg-5b4f8af2f1ac0595062dbb040db413633e9ef2fc.tar.gz |
Add frame_size to AVCodecParameters
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 4e8d30c6b0..10a208342d 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -3889,6 +3889,10 @@ typedef struct AVCodecParameters { * Corresponds to nBlockAlign in WAVEFORMATEX. */ int block_align; + /** + * Audio only. Audio frame size, if known. Required by some formats to be static. + */ + int frame_size; /** * Audio only. The amount of padding (in samples) inserted by the encoder at |