remove useless append()

This commit is contained in:
aler9
2022-08-14 13:14:08 +02:00
parent 3606472e82
commit f952ff25f6
4 changed files with 6 additions and 6 deletions

View File

@@ -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{