mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-15 20:45:57 +08:00
修复bug
This commit is contained in:
@@ -77,7 +77,7 @@ TSDecoder::~TSDecoder() {
|
||||
ts_demuxer_destroy(_demuxer_ctx);
|
||||
}
|
||||
|
||||
size_t TSDecoder::input(const uint8_t *data, size_t bytes) {
|
||||
ssize_t TSDecoder::input(const uint8_t *data, size_t bytes) {
|
||||
if (TSSegment::isTSPacket((char *)data, bytes)) {
|
||||
return ts_demuxer_input(_demuxer_ctx, (uint8_t *) data, bytes);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user