Commit 1983a7d9 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

control/media_descriptor.c: Fix memcpy usage.

parent 4e4b362e
......@@ -117,7 +117,7 @@ libvlc_media_descriptor_duplicate( libvlc_media_descriptor_t *p_md_orig )
libvlc_media_descriptor_t * p_md;
p_md = malloc( sizeof(libvlc_media_descriptor_t) );
memcpy( p_md_orig, p_md, sizeof(libvlc_media_descriptor_t) );
memcpy( p_md, p_md_orig, sizeof(libvlc_media_descriptor_t) );
return p_md;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment