diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-06-10 11:45:03 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-06-13 16:49:35 -0400 |
commit | 36151b3e3112cd7d8ae0e02e850dee16bd966696 (patch) | |
tree | 10ce7bbebc6a9a1d79859a9cf89c89b57d4742bf /libavcodec/ac3enc.h | |
parent | 504811baeacf8bac400962e84fca678b79068ceb (diff) | |
download | ffmpeg-36151b3e3112cd7d8ae0e02e850dee16bd966696.tar.gz |
ac3enc: use function pointer to choose between AC-3 and E-AC-3 header output
functions.
Diffstat (limited to 'libavcodec/ac3enc.h')
-rw-r--r-- | libavcodec/ac3enc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/ac3enc.h b/libavcodec/ac3enc.h index 0541683537..34ca2e449f 100644 --- a/libavcodec/ac3enc.h +++ b/libavcodec/ac3enc.h @@ -209,6 +209,8 @@ typedef struct AC3EncodeContext { int ref_bap_set; ///< indicates if ref_bap pointers have been set DECLARE_ALIGNED(32, SampleType, windowed_samples)[AC3_WINDOW_SIZE]; + + void (*output_frame_header)(struct AC3EncodeContext *s); } AC3EncodeContext; #endif /* AVCODEC_AC3ENC_H */ |