X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ffileac3.h;h=9304a80f4303f6c5bf2e360b0031b1fd595ff1df;hb=3966bf849d26244bc8b9a39fa485a808272225d0;hp=c2a30b287f5cd2aea441fc41f1a069d5376f0ed4;hpb=190b4810ec184c74ceab3fcd6faf09a91c92c53c;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/fileac3.h b/cinelerra-5.1/cinelerra/fileac3.h index c2a30b28..9304a80f 100644 --- a/cinelerra-5.1/cinelerra/fileac3.h +++ b/cinelerra-5.1/cinelerra/fileac3.h @@ -55,8 +55,12 @@ public: int read_samples(double *buffer, int64_t len); int write_samples(double **buffer, int64_t len); int get_index(IndexFile *index_file, MainProgressBar *progress_bar); + int write_packet(); + int encode_frame(AVFrame *frame); + int encode_flush(); private: + AVPacket avpkt; AVCodec *codec; AVCodecContext *codec_context; SwrContext *resample_context; @@ -66,8 +70,6 @@ private: int16_t *temp_raw; int temp_raw_allocated; int temp_raw_size; - unsigned char *temp_compressed; - int compressed_allocated; };