mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 07:23:11 +02:00
libeplayer3/writer: add fd to writer class
This commit is contained in:
@@ -32,13 +32,13 @@
|
||||
class WriterH263 : public Writer
|
||||
{
|
||||
public:
|
||||
bool Write(int fd, AVStream *stream, AVPacket *packet, int64_t pts);
|
||||
bool Write(AVPacket *packet, int64_t pts);
|
||||
WriterH263();
|
||||
};
|
||||
|
||||
bool WriterH263::Write(int fd, AVStream * /* stream */, AVPacket *packet, int64_t pts)
|
||||
bool WriterH263::Write(AVPacket *packet, int64_t pts)
|
||||
{
|
||||
if (fd < 0 || !packet || !packet->data)
|
||||
if (!packet || !packet->data)
|
||||
return false;
|
||||
uint8_t PesHeader[PES_MAX_HEADER_SIZE];
|
||||
|
||||
|
Reference in New Issue
Block a user