[FFmpeg-trac] #865(avcodec:open): sunras: support 8bpp grayscale

FFmpeg trac at avcodec.org
Mon Jan 2 12:13:35 CET 2012


#865: sunras: support 8bpp grayscale
------------------------------------+-----------------------------------
             Reporter:  ami_stuff   |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  sunrast     |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+-----------------------------------

Comment (by cehoyos):

 Replying to [comment:1 cehoyos]:
 > You could test for maplength in "case 8", remove the "useless colormap"
 block and change the condition for loading the palette to "avctx->pix_fmt
 == PIX_FMT_PAL8" (or better maplength until we fix 864).

 Actually:
 You could test for maplength in "case 8" and use it as condition for
 loading the palette.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/865#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list