mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-20 02:00:05 -08:00
remove useless append()
This commit is contained in:
parent
3606472e82
commit
f952ff25f6
4 changed files with 6 additions and 6 deletions
|
|
@ -146,7 +146,7 @@ func (s *rtspSource) run(ctx context.Context) error {
|
|||
rtpPacket: ctx.Packet,
|
||||
ptsEqualsDTS: ctx.PTSEqualsDTS,
|
||||
pts: ctx.H264PTS,
|
||||
h264NALUs: append([][]byte(nil), ctx.H264NALUs...),
|
||||
h264NALUs: ctx.H264NALUs,
|
||||
})
|
||||
} else {
|
||||
res.stream.writeData(&data{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue