decklink: Remove unused variables to fix warning
Remove two unused variables that are causing a compiler warning on gcc. The size was probably added in the past to calculate the the packet size, but in the end was not actually needed.
This commit is contained in:
parent
c8ce08d4b6
commit
00cb0540a5
@ -25,7 +25,7 @@ int check_buffer(struct audio_repack *repack,
|
||||
squash data array
|
||||
|
||||
| FL | FR |LFE | FC | BL | BR |emp |emp |
|
||||
| | x | |
|
||||
| | x | |
|
||||
| FL | FR | FC |LFE | BL | BR |
|
||||
*/
|
||||
int repack_8to6ch_swap23(struct audio_repack *repack,
|
||||
@ -34,8 +34,6 @@ int repack_8to6ch_swap23(struct audio_repack *repack,
|
||||
if (check_buffer(repack, frame_count) < 0)
|
||||
return -1;
|
||||
|
||||
const uint32_t size = frame_count * repack->base_src_size;
|
||||
|
||||
const __m128i *src = (__m128i *)bsrc;
|
||||
const __m128i *esrc = src + frame_count;
|
||||
uint32_t *dst = (uint32_t *)repack->packet_buffer;
|
||||
@ -62,8 +60,6 @@ int repack_8ch_swap23(struct audio_repack *repack,
|
||||
if (check_buffer(repack, frame_count) < 0)
|
||||
return -1;
|
||||
|
||||
const uint32_t size = frame_count * repack->base_src_size;
|
||||
|
||||
const __m128i *src = (__m128i *)bsrc;
|
||||
const __m128i *esrc = src + frame_count;
|
||||
__m128i *dst = (__m128i *)repack->packet_buffer;
|
||||
|
Loading…
x
Reference in New Issue
Block a user