[FFmpeg-trac] #10434(undetermined:new): avformat_query_codec() unexpected results

FFmpeg trac at avcodec.org
Sun Jun 25 01:11:31 EEST 2023


#10434: avformat_query_codec() unexpected results
--------------------------------------+----------------------------------
             Reporter:  csab6597      |                     Type:  defect
               Status:  new           |                 Priority:  normal
            Component:  undetermined  |                  Version:  6.0
             Keywords:                |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
--------------------------------------+----------------------------------
 using the code
 {{{
 const AVOutputFormat* ofmt = av_guess_format("MP4", nullptr, nullptr);
 int supported = avformat_query_codec(ofmt, AV_CODEC_ID_VORBIS,
 FF_COMPLIANCE_STRICT);
 }}}
 I find the returned value of 1 surprising, which would be indicating
 support. Actually the result is always 1 no matter which compliance level
 is provided. And testing a few other codecs I found the same situation.
 For example AV_CODEC_AV1 also always checks out as beeing supported, which
 I expected not to be at least for more strict compliance levels??
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10434>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list