On Tue Oct 18 2011 21:04:10 GMT+0200 (CEST), Luca Barbato wrote:
On 18/10/2011 11:58, Jean First wrote:

lowres gets mapped to cp_reduce:
http://www.openjpeg.org/libdoc/structopj__dparameters.html#a58c3363bafecefa165d6ff39c512fdbb
-    ctx->dec_params.cp_reduce = avctx->lowres;
+    ctx->dec_params.cp_limit_decoding = LIMIT_TO_MAIN_HEADER;
That's why I'm asking.

It will be added afterwards, because it is not needed to decode the main header. But I could send a patch moving ctx->dec_params.cp_reduce = avctx->lowres; in front of that line.

jean

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to