diff options
Diffstat (limited to 'decoder.h')
-rw-r--r-- | decoder.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -42,11 +42,16 @@ class cMarkAdDecoder { private: int recvnumber; + int16_t *audiobuf; + int audiobufsize; + AVCodecContext *ac3_context; AVCodecContext *mp2_context; AVCodecContext *video_context; AVFrame *video_frame; + int8_t *last_qscale_table; + bool SetAudioInfos(MarkAdContext *maContext, AVCodecContext *Audio_Context); void PAR2DAR(AVRational a, AVRational *erg); @@ -56,7 +61,7 @@ public: bool DecodeVideo(MarkAdContext *maContext, uchar *pkt, int plen); bool DecodeMP2(MarkAdContext *maContext, uchar *espkt, int eslen); bool DecodeAC3(MarkAdContext *maContext, uchar *espkt, int eslen); - cMarkAdDecoder(int recvnumber, bool useH264, bool hasAC3); + cMarkAdDecoder(int recvnumber, bool useH264, bool useMP2, bool hasAC3); ~cMarkAdDecoder(); }; |