summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/flacenc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c
index 679ad57b97..f51a4ee58b 100644
--- a/libavcodec/flacenc.c
+++ b/libavcodec/flacenc.c
@@ -80,10 +80,12 @@ typedef struct FlacFrame {
} FlacFrame;
typedef struct FlacEncodeContext {
- FLACSTREAMINFO
PutBitContext pb;
+ int channels;
+ int samplerate;
int sr_code[2];
int min_framesize;
+ int max_framesize;
int max_encoded_framesize;
uint32_t frame_count;
uint64_t sample_count;