libeplayer3: cleanup AVFormatContext propagation to writers

Origin commit data
------------------
Branch: master
Commit: e2e5582c64
Author: martii <m4rtii@gmx.de>
Date: 2014-05-01 (Thu, 01 May 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
martii
2014-05-01 10:15:14 +02:00
parent 07072ac366
commit dbcd640fca
16 changed files with 32 additions and 37 deletions

View File

@@ -80,7 +80,7 @@ class WriterPCM : public Writer
bool restart_audio_resampling;
public:
bool Write(int fd, AVFormatContext *avfc, AVStream *stream, AVPacket *packet, int64_t pts);
bool Write(int fd, AVStream *stream, AVPacket *packet, int64_t pts);
bool prepareClipPlay();
bool writePCM(int fd, int64_t Pts, uint8_t *data, unsigned int size);
void Init();
@@ -225,7 +225,7 @@ void WriterPCM::Init()
restart_audio_resampling = true;
}
bool WriterPCM::Write(int fd, AVFormatContext * /*avfc*/, AVStream *stream, AVPacket *packet, int64_t pts)
bool WriterPCM::Write(int fd, AVStream *stream, AVPacket *packet, int64_t pts)
{
if (fd < 0)
return false;