SIGN IN SIGN UP

Avoid unnecessary copy on config packets demuxing

Use av_packet_ref() to reference the packet without copy.

This also simplifies the logic, by making the "offset" variable and the
memcpy() call local to the if-block.
R
Romain Vimont committed
bf8696d02e2fdc81854909b43513981b20228f13
Parent: d8c2fe6