New upstream bugfix release.
diff --git a/debian/build-deps b/debian/build-deps
index 075c3fe..70a9c46 100644
--- a/debian/build-deps
+++ b/debian/build-deps
@@ -56,7 +56,7 @@
 libopenal-dev (>= 1:1.14)
 libopencv-dev (>= 2.3.0)
 libopenexr-dev
-libopenjpeg-dev
+libopenjp2-7-dev
 libopus-dev (>= 0.9.4)
 liborc-0.4-dev (>= 1:0.4.17)
 libpng-dev
diff --git a/debian/build-deps.in b/debian/build-deps.in
index 42005fa..49da4eb 100644
--- a/debian/build-deps.in
+++ b/debian/build-deps.in
@@ -64,7 +64,7 @@
 libxml2-dev (>= 2.8)
 libfluidsynth-dev (>= 1.0)
 libsrtp0-dev
-libopenjpeg-dev
+libopenjp2-7-dev
 libchromaprint-dev
 libwebp-dev (>= 0.2.1)
 libmjpegtools-dev
diff --git a/debian/changelog b/debian/changelog
index a18a50a..64ad0db 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+gst-plugins-bad1.0 (1.8.2-1) unstable; urgency=medium
+
+  * New upstream bugfix release.
+  * debian/build-deps.in:
+    + Switch from OpenJPEG 1.5 to 2.1.
+
+ -- Sebastian Dröge <slomo@debian.org>  Thu, 09 Jun 2016 11:32:08 +0300
+
 gst-plugins-bad1.0 (1.8.1-2) unstable; urgency=medium
 
   * debian/build-deps.in:
diff --git a/debian/control b/debian/control
index f5484e0..159488c 100644
--- a/debian/control
+++ b/debian/control
@@ -69,7 +69,7 @@
                libopenal-dev (>= 1:1.14),
                libopencv-dev (>= 2.3.0),
                libopenexr-dev,
-               libopenjpeg-dev,
+               libopenjp2-7-dev,
                libopus-dev (>= 0.9.4),
                liborc-0.4-dev (>= 1:0.4.17),
                libpng-dev,