summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vd_hmblck.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-04-26 17:42:20 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-04-26 17:42:20 +0300
commit4785c2617ee9ac186464a55c1bfb13a5781ef041 (patch)
tree2424f18b68b2037bd4e290471821e9adae28b876 /libmpcodecs/vd_hmblck.c
parent2732d5efbae3e0ee28bc6b70ceab1eb77e593216 (diff)
parent38abe6ff7a3810f8e01b6296570e92df1b12b09c (diff)
downloadmpv-4785c2617ee9ac186464a55c1bfb13a5781ef041.tar.bz2
mpv-4785c2617ee9ac186464a55c1bfb13a5781ef041.tar.xz
Merge svn changes up to r30967
Diffstat (limited to 'libmpcodecs/vd_hmblck.c')
-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");