[FFmpeg-trac] #2578(avcodec:new): avcodec_find_best_pix_fmt_of_list gives wrong format

FFmpeg trac at avcodec.org
Thu May 16 14:42:29 CEST 2013


#2578: avcodec_find_best_pix_fmt_of_list gives wrong format
---------------------------------+----------------------------------
             Reporter:  str      |                     Type:  defect
               Status:  new      |                 Priority:  normal
            Component:  avcodec  |                  Version:  1.2
             Keywords:           |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
---------------------------------+----------------------------------
 Summary of the bug:
 avcodec_find_best_pix_fmt_of_list gives me AV_PIX_FMT_PAL8 instead of
 AV_PIX_FMT_GRAY8, although src is AV_PIX_FMT_GRAY8 and it is contained in
 the list.
 How to reproduce:
 Use the ffmpeg API and try to call avcodec_find_best_pix_fmt_of_list with
 src = GRAY8. As destination list I used the list of png encoder, which
 contains GRAY8 as well as PAL8.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2578>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list