On Sun, Jun 23, 2013 at 08:50:27AM +0200, Luca Barbato wrote:
> --- a/libavcodec/jpeg2000.h
> +++ b/libavcodec/jpeg2000.h
> @@ -180,12 +180,11 @@ typedef struct Jpeg2000Prec {
>      uint16_t coord[2][2]; // border coordinates {{x0, x1}, {y0, y1}}
>  } Jpeg2000Prec; // precinct
>  
> -/* TODO: stepsize can be float or integer depending on
> - * reversible or irreversible transformation. */
>  typedef struct Jpeg2000Band {
>      uint16_t coord[2][2]; // border coordinates {{x0, x1}, {y0, y1}}
>      uint16_t log2_cblk_width, log2_cblk_height;
> -    float stepsize; // quantization stepsize
> +    int i_stepsize; // quantization stepsize
> +    float f_stepsize; // quantization stepsize
>      Jpeg2000Prec *prec;
>  } Jpeg2000Band; // subband

Shouldn't this be a union?

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

Reply via email to