[FFmpeg-trac] #2578(avcodec:new): avcodec_find_best_pix_fmt_of_list gives wrong format
FFmpeg
trac at avcodec.org
Fri May 17 07:42:25 CEST 2013
#2578: avcodec_find_best_pix_fmt_of_list gives wrong format
--------------------------------+-----------------------------------
Reporter: str | Owner:
Type: defect | Status: new
Priority: normal | Component: avcodec
Version: 1.2 | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------+-----------------------------------
Comment (by str):
Replying to [comment:1 cehoyos]:
> Is this also reproducible with current git head?
> How can I reproduce this problem?
Yes. This problem also occurs in git head.
I already explained how to reproduce:
Simply call
avcodec_find_best_pix_fmt_of_list(pix_fmt_list,
AV_PIX_FMT_GRAY8, 0, 0)
with the pix_fmt_list taken from png encoder for example.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2578#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list