#8172: Assertion at libavformat/avienc.c:800
-------------------------------------+-------------------------------------
             Reporter:  Suhwan       |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:  assertion    |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 There're Assertion at libavformat/avienc.c:800 and 3 shift exponent 32 is
 too large for 32-bit type 'int' bugs
 {{{
 libavformat/riffenc.c:242:31: runtime error: shift exponent 32 is too
 large for 32-bit type 'int'
 libavformat/riffenc.c:252:31: runtime error: shift exponent 32 is too
 large for 32-bit type 'int'
 libavformat/avienc.c:797:34: runtime error: shift exponent 32 is too large
 for 32-bit type 'int'

 Assertion par->bits_per_coded_sample >= 0 && par->bits_per_coded_sample <=
 8 failed at libavformat/avienc.c:800
 }}}

 How to reproduce:
 {{{
 % ./ffmpeg_g -t 3 -stream_loop 2 -y -i Airplane.mov -loglevel 99 -map 0 -c
 copy -vframes 87 -ar 48000 tmp.avi

 ffmpeg version N-94957-g65589ad553 Copyright (c) 2000-2019 the FFmpeg
 developers
   built with clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
   configuration: --cc=clang --cxx=clang++ --ld=clang --enable-debug
 --toolchain=clang-usan
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8172>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to