]> granicus.if.org Git - openjpeg/commitdiff
typo miss corrections for fx,fy
authorKaori Hagihara <khagihara@users.noreply.github.com>
Mon, 27 Jun 2011 14:09:11 +0000 (14:09 +0000)
committerKaori Hagihara <khagihara@users.noreply.github.com>
Mon, 27 Jun 2011 14:09:11 +0000 (14:09 +0000)
applications/jpip/opj_server/opj_server.c

index aba98ad7fc88f6d4d7bcef41ebf4d1d0f08d007b..45b43df5e564fb0f3dc9140fffade2b49cb5f1e5 100644 (file)
@@ -206,7 +206,7 @@ bool parse_JPIPrequest( query_param_t query_param,
     if( !close_channel( query_param, sessionlist, &cursession, &curchannel))
       return false;
   
-  if( (query_param.fx > 0 && query_param.fx > 0) || query_param.box_type[0][0] != 0)
+  if( (query_param.fx > 0 && query_param.fy > 0) || query_param.box_type[0][0] != 0)
     if( !gene_JPTstream( query_param, cursession, curchannel, msgqueue))
       return false;
       
@@ -360,7 +360,7 @@ bool gene_JPTstream( query_param_t query_param,
     enqueue_metabins( query_param, codeidx->metadatalist, *msgqueue); 
 
   // image code
-  if( query_param.fx > 0 && query_param.fx > 0){
+  if( query_param.fx > 0 && query_param.fy > 0){
     if( !codeidx->mhead_model)
       enqueue_mainheader( *msgqueue);
     enqueue_tiles( query_param, codeidx, *msgqueue);