libeplayer3/writer: add fd to writer class

Origin commit data
------------------
Branch: master
Commit: b767224487
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 12:51:26 +02:00
parent dbcd640fca
commit a428bd64b5
11 changed files with 58 additions and 51 deletions

View File

@@ -36,13 +36,13 @@
class WriterDTS : public Writer
{
public:
bool Write(int fd, AVStream *stream, AVPacket *packet, int64_t pts);
bool Write(AVPacket *packet, int64_t pts);
WriterDTS();
};
bool WriterDTS::Write(int fd, AVStream * /* stream */, AVPacket *packet, int64_t pts)
bool WriterDTS::Write(AVPacket *packet, int64_t pts)
{
if (fd < 0 || !packet || !packet->data)
if (!packet || !packet->data)
return false;
uint8_t PesHeader[PES_AUDIO_HEADER_SIZE];