libobs: Fix bug in AVC encoder packet allocation
Meant to subtract the ref size, not add. This is what one gets for "clever" coding tricks.
This commit is contained in:
parent
afe37773bc
commit
fba152aed9
@ -142,7 +142,7 @@ void obs_parse_avc_packet(struct encoder_packet *avc_packet,
|
||||
&avc_packet->priority);
|
||||
|
||||
avc_packet->data = output.bytes.array + sizeof(ref);
|
||||
avc_packet->size = output.bytes.num + sizeof(ref);
|
||||
avc_packet->size = output.bytes.num - sizeof(ref);
|
||||
avc_packet->drop_priority = get_drop_priority(avc_packet->priority);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user