id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc	blockedby	blocking	reproduced	analyzed
1127	libopenjpeg: problem with grayscale mode	ami_stuff		"I get a tif output in which left side is filled with decoded pic and the right side is empty. 

Please test if this is really a regression and not a build's fault.

{{{
C:\>ffmpeg -i gray.jp2 out.tif
ffmpeg version N-38938-ge01f478 Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar 19 2012 23:16:52 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil      51. 42.100 / 51. 42.100
  libavcodec     54. 12.100 / 54. 12.100
  libavformat    54.  2.100 / 54.  2.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 65.101 /  2. 65.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  7.100 /  0.  7.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, image2, from 'gray.jp2':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: j2k, gray16le, 320x200, 25 tbr, 25 tbn, 25 tbc
Incompatible pixel format 'gray16le' for codec 'tiff', auto-selecting format 'rg
b48le'
[buffer @ 021839C0] w:320 h:200 pixfmt:gray16le tb:1/1000000 sar:0/1 sws_param:
[buffersink @ 02183C40] auto-inserting filter 'auto-inserted scale 0' between th
e filter 'src' and the filter 'out'
[scale @ 02183180] w:320 h:200 fmt:gray16le sar:0/1 -> w:320 h:200 fmt:rgb48le s
ar:0/1 flags:0x4
Output #0, image2, to 'out.tif':
  Metadata:
    encoder         : Lavf54.2.100
    Stream #0:0: Video: tiff, rgb48le, 320x200, q=2-31, 200 kb/s, 90k tbn, 25 tb
c
Stream mapping:
  Stream #0:0 -> #0:0 (libopenjpeg -> tiff)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.04 bitrate=   0.0kbits/
s
video:379kB audio:0kB global headers:0kB muxing overhead -100.000000%
}}}"	defect	closed	important	avcodec	git-master	fixed	libopenjpeg regression				1	0
