mirror of https://github.com/FFmpeg/FFmpeg.git
Hardware pixel formats do not tell you anything about their actual contents, but should still score higher than formats with completely unknown properties, which in turn should score higher than invalid formats. Do not return an AVERROR code as a score. Fixes a hang in libavfilter where format negotiation gets stuck in a loop because AV_PIX_FMT_NONE scores more highly than all other possibilities.pull/265/head
parent
5b8a708492
commit
8a442d7a8a
1 changed files with 12 additions and 4 deletions
Loading…
Reference in new issue