summaryrefslogtreecommitdiff
path: root/dxr3audiodecoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'dxr3audiodecoder.h')
-rw-r--r--dxr3audiodecoder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dxr3audiodecoder.h b/dxr3audiodecoder.h
index 48b526b..7b0262f 100644
--- a/dxr3audiodecoder.h
+++ b/dxr3audiodecoder.h
@@ -55,6 +55,7 @@ public:
private:
bool checkMpegAudioHdr(const uint8_t *head);
+ int calcFrameSize(const uint8_t *header);
AVCodec *audio;
AVCodecContext *contextAudio;
@@ -63,6 +64,7 @@ private:
cRingBufferFrame rbuf;
cMultichannelAudio ac3dtsDecoder;
+ int frameSize;
uint8_t lastBitrate;
uint8_t pcmbuf[AVCODEC_MAX_AUDIO_FRAME_SIZE];
};