[FFmpeg-trac] #9834(avcodec:new): SVT-AV1 encoding segfaults on last frame

FFmpeg trac at avcodec.org
Sun Jul 17 11:53:38 EEST 2022


#9834: SVT-AV1 encoding segfaults on last frame
---------------------------------+--------------------------------------
             Reporter:  Sesse    |                     Type:  defect
               Status:  new      |                 Priority:  normal
            Component:  avcodec  |                  Version:  git-master
             Keywords:           |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
---------------------------------+--------------------------------------
 git at 9450f759748d02d1d284d2e4afd741cb0fe0c04a.

 ./ffmpeg -y -i untitled.mkv -c:v libsvtav1 -pix_fmt yuv420p10le -preset 10
 -b:v 3M -frames 5 foo-av1.webm

 Segfaults on the last frame. It seems that the pic_type and metadata
 members of headerPtrLast are uninitialized and thus get stack garbage
 (should be EB_AV1_INVALID_PICTURE and NULL respectively, according to
 Source/App/EncApp/EbAppProcessCmd.c in the SVT-AV1 code).
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9834>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list