Mercurial > mplayer.hg
changeset 30898:200a76c94ad1
Remove unnecessary size limits and a related define for hm12 decoder.
Patch by Stephen Warren [swarren nvidia com]
author | reimar |
---|---|
date | Fri, 19 Mar 2010 19:44:02 +0000 |
parents | 3d4e6c8c08ac |
children | 5c4742884b38 |
files | libmpcodecs/vd_hmblck.c |
diffstat | 1 files changed, 0 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd_hmblck.c Fri Mar 19 19:42:23 2010 +0000 +++ b/libmpcodecs/vd_hmblck.c Fri Mar 19 19:44:02 2010 +0000 @@ -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 @@ "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");