codec Equal
This commit is contained in:
parent
2be4196875
commit
4db7d612fc
@ -326,7 +326,7 @@ func Equal(c1 []av.CodecData, c2 []av.CodecData) bool {
|
|||||||
if eq := bytes.Compare(
|
if eq := bytes.Compare(
|
||||||
codec.(h264parser.CodecData).AVCDecoderConfRecordBytes(),
|
codec.(h264parser.CodecData).AVCDecoderConfRecordBytes(),
|
||||||
c2[i].(h264parser.CodecData).AVCDecoderConfRecordBytes(),
|
c2[i].(h264parser.CodecData).AVCDecoderConfRecordBytes(),
|
||||||
); eq == 0 {
|
); eq != 0 {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
case av.AAC:
|
case av.AAC:
|
||||||
|
Loading…
Reference in New Issue
Block a user