h264 packetizer: Remove unused enum

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Qt: Fix crash introduced by 798ee1ab

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Qt: Avoid using dangling pointers and fix memleaks

The pointer returned is only valid for the statement calling the
function. The temporary QByteArray falls out of scope immediatly after

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Qt: Avoid uninitialized records in option array

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>