summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-19 19:44:02 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-19 19:44:02 +0000
commit443a427b0e1742f5877b29ff57086188ee691614 (patch)
treeb89f46bdc3f971304d8922736de48c76f26f65ed /libmpcodecs
parent498bd63ccc3a893bf949a00adb1e19ff3a75d1c9 (diff)
downloadmpv-443a427b0e1742f5877b29ff57086188ee691614.tar.bz2
mpv-443a427b0e1742f5877b29ff57086188ee691614.tar.xz
Remove unnecessary size limits and a related define for hm12 decoder.
Patch by Stephen Warren [swarren nvidia com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30940 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vd_hmblck.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libmpcodecs/vd_hmblck.c b/libmpcodecs/vd_hmblck.c
index 81b1c4373b..a9a871cae2 100644
--- a/libmpcodecs/vd_hmblck.c
+++ b/libmpcodecs/vd_hmblck.c
@@ -24,8 +24,6 @@
#include "vd_internal.h"
-#define TEMP_BUF_SIZE (720*576)
-
static const vd_info_t info = {
"Hauppauge Macroblock/NV12/NV21 Decoder",
"hmblck",
@@ -92,11 +90,6 @@ static int nv12_to_yv12(unsigned char *data, int len, mp_image_t* mpi, int swapp
"hmblck: Image size inconsistent with data size.\n");
return 0;
}
- if ( (mpi->width > 720) || (mpi->height > 576) ) {
- mp_msg(MSGT_DECVIDEO,MSGL_ERR,
- "hmblck: Image size is too big.\n");
- return 0;
- }
if (mpi->num_planes != 3) {
mp_msg(MSGT_DECVIDEO,MSGL_ERR,
"hmblck: Incorrect number of image planes.\n");