In readCallback, handlers.readPacket is called without being given the input buffer size from libav. Doesn't it mean readPacket function can overflow the expected size of buffer? I would add two arguments buf and buf_size to readPacket callback. Or am I missing something?
In readCallback, handlers.readPacket is called without being given the input buffer size from libav. Doesn't it mean readPacket function can overflow the expected size of buffer? I would add two arguments buf and buf_size to readPacket callback. Or am I missing something?