diff options
Diffstat (limited to 'avmedia/source/vlc/wrapper/Instance.cxx')
-rw-r--r-- | avmedia/source/vlc/wrapper/Instance.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/avmedia/source/vlc/wrapper/Instance.cxx b/avmedia/source/vlc/wrapper/Instance.cxx index b9b6ff947ec5..8ec473275ede 100644 --- a/avmedia/source/vlc/wrapper/Instance.cxx +++ b/avmedia/source/vlc/wrapper/Instance.cxx @@ -38,9 +38,7 @@ namespace VLC Instance::Instance( const Instance& other ) { - libvlc_release( mInstance ); - mInstance = other.mInstance; - libvlc_retain( mInstance ); + operator=(other); } const Instance& Instance::operator=( const Instance& other ) |