avcodec/fic: Check coefficients

Fixes: signed integer overflow: 1258291200 * 2 cannot be represented in type 'int'
Fixes: 1413/clusterfuzz-testcase-minimized-5923451770503168

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
1 file changed
tree: 7d45fca379bacf888dc9244af1b0dfc4f4d30348
  1. compat/
  2. doc/
  3. ffbuild/
  4. libavcodec/
  5. libavdevice/
  6. libavfilter/
  7. libavformat/
  8. libavresample/
  9. libavutil/
  10. libpostproc/
  11. libswresample/
  12. libswscale/
  13. presets/
  14. tests/
  15. tools/
  16. .gitattributes
  17. .gitignore
  18. .travis.yml
  19. Changelog
  20. cmdutils.c
  21. cmdutils.h
  22. cmdutils_opencl.c
  23. configure
  24. CONTRIBUTING.md
  25. COPYING.GPLv2
  26. COPYING.GPLv3
  27. COPYING.LGPLv2.1
  28. COPYING.LGPLv3
  29. CREDITS
  30. ffmpeg.c
  31. ffmpeg.h
  32. ffmpeg_cuvid.c
  33. ffmpeg_dxva2.c
  34. ffmpeg_filter.c
  35. ffmpeg_opt.c
  36. ffmpeg_qsv.c
  37. ffmpeg_vaapi.c
  38. ffmpeg_vdpau.c
  39. ffmpeg_videotoolbox.c
  40. ffplay.c
  41. ffprobe.c
  42. ffserver.c
  43. ffserver_config.c
  44. ffserver_config.h
  45. INSTALL.md
  46. LICENSE.md
  47. MAINTAINERS
  48. Makefile
  49. README.md
  50. RELEASE
README.md

FFmpeg README

FFmpeg is a collection of libraries and tools to process multimedia content such as audio, video, subtitles and related metadata.

Libraries

  • libavcodec provides implementation of a wider range of codecs.
  • libavformat implements streaming protocols, container formats and basic I/O access.
  • libavutil includes hashers, decompressors and miscellaneous utility functions.
  • libavfilter provides a mean to alter decoded Audio and Video through chain of filters.
  • libavdevice provides an abstraction to access capture and playback devices.
  • libswresample implements audio mixing and resampling routines.
  • libswscale implements color conversion and scaling routines.

Tools

  • ffmpeg is a command line toolbox to manipulate, convert and stream multimedia content.
  • ffplay is a minimalistic multimedia player.
  • ffprobe is a simple analysis tool to inspect multimedia content.
  • ffserver is a multimedia streaming server for live broadcasts.
  • Additional small tools such as aviocat, ismindex and qt-faststart.

Documentation

The offline documentation is available in the doc/ directory.

The online documentation is available in the main website and in the wiki.

Examples

Coding examples are available in the doc/examples directory.

License

FFmpeg codebase is mainly LGPL-licensed with optional components licensed under GPL. Please refer to the LICENSE file for detailed information.

Contributing

Patches should be submitted to the ffmpeg-devel mailing list using git format-patch or git send-email. Github pull requests should be avoided because they are not part of our review process and will be ignored.