[FFmpeg-trac] #9987(undetermined:new): Example issue in vide_decode.c

FFmpeg trac at avcodec.org
Mon Oct 24 10:40:02 EEST 2022


#9987: Example issue in vide_decode.c
-------------------------------------+-------------------------------------
             Reporter:  enrico       |                     Type:  defect
  vittorini                          |
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 In the decode_video.c example the statement

 codec = avcodec_find_decoder(AV_CODEC_ID_MPEG1VIDEO);ù

 Raise an error in Visual Studio 2022:

 error C2440: '=': cannot convert from 'const AVCodec *' to 'AVCodec *''
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9987>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list