libeplayer3: cleanup AVFormatContext propagation to writers

This commit is contained in:
martii
2014-05-01 10:15:14 +02:00
parent eebb7d6b39
commit e2e5582c64
16 changed files with 32 additions and 37 deletions

View File

@@ -32,11 +32,11 @@
class WriterH263 : public Writer
{
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);
WriterH263();
};
bool WriterH263::Write(int fd, AVFormatContext * /* avfc */, AVStream * /* stream */, AVPacket *packet, int64_t pts)
bool WriterH263::Write(int fd, AVStream * /* stream */, AVPacket *packet, int64_t pts)
{
if (fd < 0 || !packet || !packet->data)
return false;